diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2007-12-26 16:59:53 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2007-12-26 16:59:53 +0000 |
commit | 94a4673a148b3ef678849f240a16ee3b006d4ae9 (patch) | |
tree | 50a4e3831f02a2c8be44669b79cb939f21015ce2 /syslogd.c | |
parent | 002c04988d4430013496c4cab75e1f024421a45c (diff) | |
download | rsyslog-94a4673a148b3ef678849f240a16ee3b006d4ae9.tar.gz rsyslog-94a4673a148b3ef678849f240a16ee3b006d4ae9.tar.xz rsyslog-94a4673a148b3ef678849f240a16ee3b006d4ae9.zip |
removed omfwd code dependency on finet
Diffstat (limited to 'syslogd.c')
-rw-r--r-- | syslogd.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -2775,7 +2775,7 @@ die(int sig) /* now clean up the listener part */ #ifdef SYSLOG_INET /* Close the UDP inet socket. */ - closeUDPListenSockets(); + closeUDPListenSockets(finet); #endif /* rger 2005-02-22 @@ -3580,12 +3580,12 @@ init(void) */ if(Forwarding || AcceptRemote) { if (finet == NULL) { - if((finet = create_udp_socket((uchar*)LogPort)) != NULL) + if((finet = create_udp_socket(NULL, (uchar*)LogPort, 1)) != NULL) dbgprintf("Opened %d syslog UDP port(s).\n", *finet); } } else { /* this case can happen during HUP processing. */ - closeUDPListenSockets(); + closeUDPListenSockets(finet); } #endif |