diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2007-12-26 18:05:14 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2007-12-26 18:05:14 +0000 |
commit | b38049e29cbf1aa56428c0ed7e68f49f2aef810b (patch) | |
tree | 6ec7173a60b20dc81f6e99a84879e964810bc7d9 /plugins/imudp/imudp.c | |
parent | 9d800f017aecfbac377192b49981c6ad0064bb04 (diff) | |
download | rsyslog-b38049e29cbf1aa56428c0ed7e68f49f2aef810b.tar.gz rsyslog-b38049e29cbf1aa56428c0ed7e68f49f2aef810b.tar.xz rsyslog-b38049e29cbf1aa56428c0ed7e68f49f2aef810b.zip |
removed no longer needed reference to "AcceptRemote"
Diffstat (limited to 'plugins/imudp/imudp.c')
-rw-r--r-- | plugins/imudp/imudp.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/imudp/imudp.c b/plugins/imudp/imudp.c index f8bea91a..bc1d0523 100644 --- a/plugins/imudp/imudp.c +++ b/plugins/imudp/imudp.c @@ -84,7 +84,7 @@ CODESTARTrunInput /* Add the UDP listen sockets to the list of read descriptors. */ - if(udpLstnSocks != NULL && AcceptRemote) { + if(udpLstnSocks != NULL) { for (i = 0; i < *udpLstnSocks; i++) { if (udpLstnSocks[i+1] != -1) { if(Debug) @@ -105,7 +105,7 @@ CODESTARTrunInput /* wait for io to become ready */ nfds = select(maxfds+1, (fd_set *) &readfds, NULL, NULL, NULL); - if (udpLstnSocks != NULL && AcceptRemote) { + if(udpLstnSocks != NULL) { for (i = 0; nfds && i < *udpLstnSocks; i++) { if (FD_ISSET(udpLstnSocks[i+1], &readfds)) { socklen = sizeof(frominet); @@ -154,6 +154,7 @@ ENDrunInput BEGINwillRun CODESTARTwillRun PrintAllowedSenders(1); /* UDP */ +dbgprintf("pszLstPort: '%s'\n", pszLstnPort); if((udpLstnSocks = create_udp_socket(NULL, (pszLstnPort == NULL) ? (uchar*) "514" : pszLstnPort, 1)) != NULL) dbgprintf("Opened %d syslog UDP port(s).\n", *udpLstnSocks); #if 0 |