diff options
author | pattonme <pattonme@cvs.openbsd.org> | 1998-09-15 09:55:46 +0000 |
---|---|---|
committer | pattonme <pattonme@cvs.openbsd.org> | 1998-09-15 09:55:46 +0000 |
commit | 3cd9ba287f3c67bf9402a9ed3c86974e71a32d7e (patch) | |
tree | 548b79d7b94f7ef6ebe010f32e62b518b9dd8d5e /sbin/ipf/opt.c | |
parent | 27b061a4a924ebc679eac252e047dc74a15f5fb2 (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 'sbin/ipf/opt.c')
-rw-r--r-- | sbin/ipf/opt.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/sbin/ipf/opt.c b/sbin/ipf/opt.c index 1e65c9bd0e0..4e470381ef0 100644 --- a/sbin/ipf/opt.c +++ b/sbin/ipf/opt.c @@ -1,4 +1,4 @@ -/* $OpenBSD: opt.c,v 1.8 1998/01/26 04:13:37 dgregor Exp $ */ +/* $OpenBSD: opt.c,v 1.9 1998/09/15 09:55:44 pattonme Exp $ */ /* * Copyright (C) 1993-1997 by Darren Reed. * @@ -21,14 +21,18 @@ #include <netinet/tcp.h> #include <net/if.h> #include <arpa/inet.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 "ip_fil.h" +#include <netinet/ip_fil.h> #include "ipf.h" #if !defined(lint) static const char sccsid[] = "@(#)opt.c 1.8 4/10/96 (C) 1993-1995 Darren Reed"; -static const char rcsid[] = "@(#)$Id: opt.c,v 1.8 1998/01/26 04:13:37 dgregor Exp $"; +static const char rcsid[] = "@(#)$Id: opt.c,v 1.9 1998/09/15 09:55:44 pattonme Exp $"; #endif extern int opts; |