summaryrefslogtreecommitdiffstats
path: root/runtime/net.c
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/net.c')
-rw-r--r--runtime/net.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/net.c b/runtime/net.c
index 6d67693f..b61e4c15 100644
--- a/runtime/net.c
+++ b/runtime/net.c
@@ -685,7 +685,7 @@ gethname(struct sockaddr_storage *f, uchar *pszHostFQDN)
* time being, we simply drop the name we obtained and use the IP - that one
* is OK in any way. We do also log the error message. rgerhards, 2007-07-16
*/
- if(bDropMalPTRMsgs == 1) {
+ if(glbl.GetDropMalPTRMsgs() == 1) {
snprintf((char*)szErrMsg, sizeof(szErrMsg) / sizeof(uchar),
"Malicious PTR record, message dropped "
"IP = \"%s\" HOST = \"%s\"",