summaryrefslogtreecommitdiff
path: root/usr.sbin/ipftest/ipft_td.c
diff options
context:
space:
mode:
authorkstailey <kstailey@cvs.openbsd.org>1997-02-11 22:24:21 +0000
committerkstailey <kstailey@cvs.openbsd.org>1997-02-11 22:24:21 +0000
commit80aea2f1d26c615419d2d028087115c47f9fd46f (patch)
treef63dc8d784c2927447f3929c843a58673ed5ffc0 /usr.sbin/ipftest/ipft_td.c
parent5e04debc4b0038a40277cd3f8198955ee51896d3 (diff)
IPF 1.3.7
Diffstat (limited to 'usr.sbin/ipftest/ipft_td.c')
-rw-r--r--usr.sbin/ipftest/ipft_td.c12
1 files changed, 3 insertions, 9 deletions
diff --git a/usr.sbin/ipftest/ipft_td.c b/usr.sbin/ipftest/ipft_td.c
index be6a84b1130..fb9dcb6baea 100644
--- a/usr.sbin/ipftest/ipft_td.c
+++ b/usr.sbin/ipftest/ipft_td.c
@@ -41,6 +41,7 @@ tcpdump -nqte
#include <sys/socket.h>
#include <sys/ioctl.h>
#include <netinet/in.h>
+#include <arpa/inet.h>
#include <netinet/in_systm.h>
#include <netinet/ip_var.h>
#include <netinet/ip.h>
@@ -50,22 +51,15 @@ tcpdump -nqte
#include <netinet/tcpip.h>
#include <net/if.h>
#include <netdb.h>
-#include "ip_fil_compat.h"
-#include "ip_fil.h"
#include "ipf.h"
#include "ipt.h"
-#ifndef lint
+#if !defined(lint) && defined(LIBC_SCCS)
static char sccsid[] = "@(#)ipft_td.c 1.8 2/4/96 (C)1995 Darren Reed";
-static char rcsid[] = "$Id: ipft_td.c,v 1.5 1996/10/08 07:33:36 niklas Exp $";
+static char rcsid[] = "$Id: ipft_td.c,v 1.6 1997/02/11 22:23:54 kstailey Exp $";
#endif
static int tcpd_open(), tcpd_close(), tcpd_readip();
-#ifdef NEED_INET_ATON
-extern u_long inet_aton();
-#else
-#include <arpa/inet.h>
-#endif
struct ipread tcpd = { tcpd_open, tcpd_close, tcpd_readip };