From 13a1781a8e02ebee2535f82b5d4868f6a31ff233 Mon Sep 17 00:00:00 2001 From: Niklas Hallqvist Date: Thu, 22 Apr 1999 16:12:41 +0000 Subject: Heh, this was definitely not tested. cpp sytax errors. --- sys/netinet/ip_fil.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'sys/netinet') 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__) -- cgit v1.2.3