summaryrefslogtreecommitdiff
path: root/usr.sbin/ipftest/ipft_sn.c
diff options
context:
space:
mode:
authorpattonme <pattonme@cvs.openbsd.org>1998-09-15 10:05:53 +0000
committerpattonme <pattonme@cvs.openbsd.org>1998-09-15 10:05:53 +0000
commit6afefb3a3fa727e36bf896a9638f23d65fc9e84e (patch)
treeb9cddc59fc02c6fec18bdca069bd614d53e1944c /usr.sbin/ipftest/ipft_sn.c
parentc0f676e69bfd829b82362fc6d313182c34d70937 (diff)
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.
Diffstat (limited to 'usr.sbin/ipftest/ipft_sn.c')
-rw-r--r--usr.sbin/ipftest/ipft_sn.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/usr.sbin/ipftest/ipft_sn.c b/usr.sbin/ipftest/ipft_sn.c
index 48d643511f2..6d33620e40b 100644
--- a/usr.sbin/ipftest/ipft_sn.c
+++ b/usr.sbin/ipftest/ipft_sn.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ipft_sn.c,v 1.7 1998/01/26 04:16:36 dgregor Exp $ */
+/* $OpenBSD: ipft_sn.c,v 1.8 1998/09/15 10:05:50 pattonme Exp $ */
/*
* Copyright (C) 1993-1997 by Darren Reed.
*
@@ -31,14 +31,18 @@
#include <netinet/ip.h>
#include <netinet/tcp.h>
#include <net/if.h>
-#include "ip_fil_compat.h"
+#if defined(__OpenBSD__)
+# include <netinet/ip_fil_compat.h>
+#else
+# include <netinet/ip_compat.h>
+#endif
#include <netinet/tcpip.h>
#include "ipf.h"
#include "ipt.h"
#include "snoop.h"
#if !defined(lint)
-static const char rcsid[] = "@(#)$Id: ipft_sn.c,v 1.7 1998/01/26 04:16:36 dgregor Exp $";
+static const char rcsid[] = "@(#)$Id: ipft_sn.c,v 1.8 1998/09/15 10:05:50 pattonme Exp $";
#endif
struct llc {