diff options
author | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1999-04-22 16:12:41 +0000 |
---|---|---|
committer | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1999-04-22 16:12:41 +0000 |
commit | 13a1781a8e02ebee2535f82b5d4868f6a31ff233 (patch) | |
tree | a07cef11ae6fa9d4635124852defda0e34fbb575 /sys/netinet | |
parent | 413a1118892bc24e6a18dd48f441c1cc5c57b586 (diff) |
Heh, this was definitely not tested. cpp sytax errors.
Diffstat (limited to 'sys/netinet')
-rw-r--r-- | sys/netinet/ip_fil.c | 10 |
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__) |