From 6afefb3a3fa727e36bf896a9638f23d65fc9e84e Mon Sep 17 00:00:00 2001 From: pattonme Date: Tue, 15 Sep 1998 10:05:53 +0000 Subject: updated to v3.2.9 of Darren's codebase. His code reimplements variable locking, replaces u_long's with u_32_t to properly handle 64bit archs. Wrapped OpenBSD specific preprocessor logic. --- usr.sbin/ipftest/ipt.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'usr.sbin/ipftest/ipt.c') diff --git a/usr.sbin/ipftest/ipt.c b/usr.sbin/ipftest/ipt.c index 76d687c7bff..9ed2c549103 100644 --- a/usr.sbin/ipftest/ipt.c +++ b/usr.sbin/ipftest/ipt.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ipt.c,v 1.11 1998/01/26 04:16:40 dgregor Exp $ */ +/* $OpenBSD: ipt.c,v 1.12 1998/09/15 10:05:51 pattonme Exp $ */ /* * Copyright (C) 1993-1997 by Darren Reed. * @@ -46,15 +46,19 @@ #include #include #include -#include "ip_fil_compat.h" +#if defined(__OpenBSD__) +# include +#else +# include +#endif #include -#include "ip_fil.h" +#include #include "ipf.h" #include "ipt.h" #if !defined(lint) static const char sccsid[] = "@(#)ipt.c 1.19 6/3/96 (C) 1993-1996 Darren Reed"; -static const char rcsid[] = "@(#)$Id: ipt.c,v 1.11 1998/01/26 04:16:40 dgregor Exp $"; +static const char rcsid[] = "@(#)$Id: ipt.c,v 1.12 1998/09/15 10:05:51 pattonme Exp $"; #endif extern char *optarg; -- cgit v1.2.3