Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/netinet Only print one 'IP Filter:' line when it gets en...
details: https://anonhg.NetBSD.org/src/rev/bbaa6481ee0b
branches: trunk
changeset: 481546:bbaa6481ee0b
user: veego <veego%NetBSD.org@localhost>
date: Tue Feb 01 21:41:36 2000 +0000
description:
Only print one 'IP Filter:' line when it gets enabled or disabled.
diffstat:
sys/netinet/ip_fil.c | 9 ++++-----
1 files changed, 4 insertions(+), 5 deletions(-)
diffs (35 lines):
diff -r d851853fa141 -r bbaa6481ee0b sys/netinet/ip_fil.c
--- a/sys/netinet/ip_fil.c Tue Feb 01 21:33:57 2000 +0000
+++ b/sys/netinet/ip_fil.c Tue Feb 01 21:41:36 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ip_fil.c,v 1.39 2000/02/01 21:29:15 veego Exp $ */
+/* $NetBSD: ip_fil.c,v 1.40 2000/02/01 21:41:36 veego Exp $ */
/*
* Copyright (C) 1993-1998 by Darren Reed.
@@ -9,7 +9,7 @@
*/
#if !defined(lint)
#if defined(__NetBSD__)
-static const char rcsid[] = "$NetBSD: ip_fil.c,v 1.39 2000/02/01 21:29:15 veego Exp $";
+static const char rcsid[] = "$NetBSD: ip_fil.c,v 1.40 2000/02/01 21:41:36 veego Exp $";
#else
static const char sccsid[] = "@(#)ip_fil.c 2.41 6/5/96 (C) 1993-1995 Darren Reed";
static const char rcsid[] = "@(#)Id: ip_fil.c,v 2.4.2.16 2000/01/16 10:12:42 darrenr Exp";
@@ -286,14 +286,13 @@
else
defpass = "no-match -> block";
- printf("IP Filter: initialized. Default = %s all, Logging = %s\n",
- defpass,
+ printf("%s initialized. Default = %s all, Logging = %s\n",
+ ipfilter_version, defpass,
# ifdef IPFILTER_LOG
"enabled");
# else
"disabled");
# endif
- printf("%s\n", ipfilter_version);
#ifdef _KERNEL
# if (__FreeBSD_version >= 300000) && defined(_KERNEL)
ipfr_slowtimer_ch = timeout(ipfr_slowtimer, NULL, hz/2);
Home |
Main Index |
Thread Index |
Old Index