summaryrefslogtreecommitdiffstats
path: root/runtime/net.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-04-17 09:40:41 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2008-04-17 09:40:41 +0200
commite16a207726dce038835cdc12a928a95b5b915440 (patch)
treefd60b04c96128c684f3b6e4af08542029e44091e /runtime/net.c
parent8c65706d22cb62d724a030b5f0a9603751daac2d (diff)
downloadrsyslog-e16a207726dce038835cdc12a928a95b5b915440.tar.gz
rsyslog-e16a207726dce038835cdc12a928a95b5b915440.tar.xz
rsyslog-e16a207726dce038835cdc12a928a95b5b915440.zip
moved "bDropMalPTRMsgs" variable to global data pool
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\"",