summaryrefslogtreecommitdiff
path: root/sbin/ipf/ipf.c
diff options
context:
space:
mode:
authorKjell Wooding <kjell@cvs.openbsd.org>2000-03-13 23:40:21 +0000
committerKjell Wooding <kjell@cvs.openbsd.org>2000-03-13 23:40:21 +0000
commitd975165e0ed6e5da9195594fc631897099795165 (patch)
treebdffd1b05cf8f4336b2f0c1301c4bf4d3f87f5b6 /sbin/ipf/ipf.c
parent32036e41bdf3a075b472706bb1888bea896ded04 (diff)
Import of Darren Reed's IPFilter 3.3.11. See sbin/ipf/HISTORY for detailed
changelog. Documentation changes are now way behind. Volunteers?
Diffstat (limited to 'sbin/ipf/ipf.c')
-rw-r--r--sbin/ipf/ipf.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sbin/ipf/ipf.c b/sbin/ipf/ipf.c
index e3fe71acae6..17cf2d37345 100644
--- a/sbin/ipf/ipf.c
+++ b/sbin/ipf/ipf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ipf.c,v 1.22 2000/02/16 22:34:21 kjell Exp $ */
+/* $OpenBSD: ipf.c,v 1.23 2000/03/13 23:40:19 kjell Exp $ */
/*
* Copyright (C) 1993-1998 by Darren Reed.
@@ -45,7 +45,7 @@
#if !defined(lint)
static const char sccsid[] = "@(#)ipf.c 1.23 6/5/96 (C) 1993-1995 Darren Reed";
-static const char rcsid[] = "@(#)$IPFilter: ipf.c,v 2.2 1999/08/06 15:26:08 darrenr Exp $";
+static const char rcsid[] = "@(#)$IPFilter: ipf.c,v 2.2.2.1 2000/02/16 14:40:39 darrenr Exp $";
#endif
#if SOLARIS
@@ -365,8 +365,8 @@ char *opt;
{
int flag, err;
- err = get_flags();
- if (err != 0) {
+ flag = get_flags();
+ if (flag != 0) {
if ((opts & (OPT_DONOTHING|OPT_VERBOSE)) == OPT_VERBOSE)
printf("log flag is currently %#x\n", flag);
}