summaryrefslogtreecommitdiffstats
path: root/syslogd.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2007-12-26 16:59:53 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2007-12-26 16:59:53 +0000
commit94a4673a148b3ef678849f240a16ee3b006d4ae9 (patch)
tree50a4e3831f02a2c8be44669b79cb939f21015ce2 /syslogd.c
parent002c04988d4430013496c4cab75e1f024421a45c (diff)
downloadrsyslog-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.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/syslogd.c b/syslogd.c
index cc8afbc5..e51841ae 100644
--- a/syslogd.c
+++ b/syslogd.c
@@ -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