summaryrefslogtreecommitdiffstats
path: root/usr.sbin/tcpdump/tcpdump.c
diff options
context:
space:
mode:
authorkrw <krw@openbsd.org>2007-08-13 20:27:13 +0000
committerkrw <krw@openbsd.org>2007-08-13 20:27:13 +0000
commitc654770902b5403a328c927f853a85bea678a105 (patch)
tree2292ff4936a55263e06acf40a5a71c8e7b5cd4b8 /usr.sbin/tcpdump/tcpdump.c
parentSet command context save flag already in attach routine. Avoids double (diff)
downloadwireguard-openbsd-c654770902b5403a328c927f853a85bea678a105.tar.xz
wireguard-openbsd-c654770902b5403a328c927f853a85bea678a105.zip
No need to #include <netinet/in.h> twice. Noticed by Diego Casati.
ok stevesk@
Diffstat (limited to 'usr.sbin/tcpdump/tcpdump.c')
-rw-r--r--usr.sbin/tcpdump/tcpdump.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.sbin/tcpdump/tcpdump.c b/usr.sbin/tcpdump/tcpdump.c
index e09ce07f705..aac2a5f2c80 100644
--- a/usr.sbin/tcpdump/tcpdump.c
+++ b/usr.sbin/tcpdump/tcpdump.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tcpdump.c,v 1.56 2007/06/01 18:19:40 todd Exp $ */
+/* $OpenBSD: tcpdump.c,v 1.57 2007/08/13 20:27:13 krw Exp $ */
/*
* Copyright (c) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997
@@ -26,7 +26,7 @@ static const char copyright[] =
"@(#) Copyright (c) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997\n\
The Regents of the University of California. All rights reserved.\n";
static const char rcsid[] =
- "@(#) $Header: /home/cvs/src/usr.sbin/tcpdump/tcpdump.c,v 1.56 2007/06/01 18:19:40 todd Exp $ (LBL)";
+ "@(#) $Header: /home/cvs/src/usr.sbin/tcpdump/tcpdump.c,v 1.57 2007/08/13 20:27:13 krw Exp $ (LBL)";
#endif
/*
@@ -62,7 +62,6 @@ static const char rcsid[] =
#include <sys/socket.h>
#include <net/if.h>
-#include <netinet/in.h>
#include <net/pfvar.h>
#include "pfctl.h"
#include "pfctl_parser.h"