diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2008-04-17 09:54:10 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2008-04-17 09:54:10 +0200 |
commit | 911101ed26292c766eae0b48575e5911b96d2ea7 (patch) | |
tree | 743d3dc673fbb29b734cd1f0f25d53a649e63ecf /tcpsrv.c | |
parent | e16a207726dce038835cdc12a928a95b5b915440 (diff) | |
download | rsyslog-911101ed26292c766eae0b48575e5911b96d2ea7.tar.gz rsyslog-911101ed26292c766eae0b48575e5911b96d2ea7.tar.xz rsyslog-911101ed26292c766eae0b48575e5911b96d2ea7.zip |
moved "option_DisallowWarning" variable to global data pool
Diffstat (limited to 'tcpsrv.c')
-rw-r--r-- | tcpsrv.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -468,7 +468,7 @@ SessAccept(tcpsrv_t *pThis, tcps_sess_t **ppSess, int fd) */ if(!pThis->pIsPermittedHost((struct sockaddr*) &addr, (char*) fromHostFQDN, pThis->pUsr, pSess->pUsr)) { dbgprintf("%s is not an allowed sender\n", (char *) fromHostFQDN); - if(option_DisallowWarning) { + if(glbl.GetOption_DisallowWarning()) { errno = 0; errmsg.LogError(NO_ERRCODE, "TCP message from disallowed sender %s discarded", (char*)fromHost); |