summaryrefslogtreecommitdiff
path: root/sys/netinet/ip_fil.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/netinet/ip_fil.c')
-rw-r--r--sys/netinet/ip_fil.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/netinet/ip_fil.c b/sys/netinet/ip_fil.c
index 6260d71e545..ed26ec6c7dc 100644
--- a/sys/netinet/ip_fil.c
+++ b/sys/netinet/ip_fil.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip_fil.c,v 1.22 1999/04/20 22:41:34 deraadt Exp $ */
+/* $OpenBSD: ip_fil.c,v 1.23 1999/04/22 16:12:40 niklas Exp $ */
/*
* Copyright (C) 1993-1998 by Darren Reed.
*
@@ -8,7 +8,7 @@
*/
#if !defined(lint)
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 1.22 1999/04/20 22:41:34 deraadt Exp $";
+static const char rcsid[] = "@(#)$Id: ip_fil.c,v 1.23 1999/04/22 16:12:40 niklas Exp $";
#endif
#ifndef SOLARIS
@@ -1181,7 +1181,7 @@ ip_t *ip;
FILE *fp;
char fname[32];
-# if (defined(NetBSD) && (NetBSD <= 1991011) && (NetBSD >= 199606)) ||
+# if (defined(NetBSD) && (NetBSD <= 1991011) && (NetBSD >= 199606)) || \
(defined(OpenBSD) && (OpenBSD >= 199603))
# if defined __OpenBSD__
sprintf(fname, "/var/run/%s", ifp->if_xname);
@@ -1267,8 +1267,8 @@ void init_ifp()
char fname[32];
int fd;
-# if (defined(NetBSD) && (NetBSD <= 1991011) && (NetBSD >= 199606))
- if (defined(OpenBSD) && (OpenBSD >= 199603))
+# if (defined(NetBSD) && (NetBSD <= 1991011) && (NetBSD >= 199606)) || \
+ (defined(OpenBSD) && (OpenBSD >= 199603))
for (ifa = ifneta; ifa && (ifp = *ifa); ifa++) {
ifp->if_output = write_output;
# if defined(__OpenBSD__)