Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-5]: src/usr.sbin/syslogd Pull up syslogd.c 1.38 -> 1.39:
details: https://anonhg.NetBSD.org/src/rev/f8eec115053c
branches: netbsd-1-5
changeset: 488352:f8eec115053c
user: jwise <jwise%NetBSD.org@localhost>
date: Sun Jul 02 02:18:10 2000 +0000
description:
Pull up syslogd.c 1.38 -> 1.39:
Make sure to shut and keep shut all sockets when in -s mode we receive
a HUP and the last forwarding rule has been removed from /etc/syslogd.conf
diffstat:
usr.sbin/syslogd/syslogd.c | 10 ++++++++--
1 files changed, 8 insertions(+), 2 deletions(-)
diffs (31 lines):
diff -r 9573b2fd25e8 -r f8eec115053c usr.sbin/syslogd/syslogd.c
--- a/usr.sbin/syslogd/syslogd.c Sun Jul 02 00:54:42 2000 +0000
+++ b/usr.sbin/syslogd/syslogd.c Sun Jul 02 02:18:10 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: syslogd.c,v 1.34.4.1 2000/06/30 22:35:30 jwise Exp $ */
+/* $NetBSD: syslogd.c,v 1.34.4.2 2000/07/02 02:18:10 jwise Exp $ */
/*
* Copyright (c) 1983, 1988, 1993, 1994
@@ -43,7 +43,7 @@
#if 0
static char sccsid[] = "@(#)syslogd.c 8.3 (Berkeley) 4/4/94";
#else
-__RCSID("$NetBSD: syslogd.c,v 1.34.4.1 2000/06/30 22:35:30 jwise Exp $");
+__RCSID("$NetBSD: syslogd.c,v 1.34.4.2 2000/07/02 02:18:10 jwise Exp $");
#endif
#endif /* not lint */
@@ -1074,6 +1074,12 @@
}
}
+ /*
+ * Reset counter of forwarding actions
+ */
+
+ NumForwards=0;
+
/* open the configuration file */
if ((cf = fopen(ConfFile, "r")) == NULL) {
dprintf("cannot open %s\n", ConfFile);
Home |
Main Index |
Thread Index |
Old Index