summaryrefslogtreecommitdiffstats
path: root/usr.sbin/tcpdump/tcpdump.c
diff options
context:
space:
mode:
authorho <ho@openbsd.org>2000-10-03 14:21:56 +0000
committerho <ho@openbsd.org>2000-10-03 14:21:56 +0000
commit9da4fe85683b8cef9158e4366a37df9d9659e34a (patch)
tree6605576c35abd6aee39ffe33e2551098151dcb47 /usr.sbin/tcpdump/tcpdump.c
parentMore careful ntohs/ntohl etc. From Gunnar Lindberg <lindberg@cdg.chalmers.se> (diff)
downloadwireguard-openbsd-9da4fe85683b8cef9158e4366a37df9d9659e34a.tar.xz
wireguard-openbsd-9da4fe85683b8cef9158e4366a37df9d9659e34a.zip
Compile with -Wall. Add $OpenBSD$. (jakob@ ok)
Diffstat (limited to 'usr.sbin/tcpdump/tcpdump.c')
-rw-r--r--usr.sbin/tcpdump/tcpdump.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.sbin/tcpdump/tcpdump.c b/usr.sbin/tcpdump/tcpdump.c
index 20dab7e793a..04488025f4a 100644
--- a/usr.sbin/tcpdump/tcpdump.c
+++ b/usr.sbin/tcpdump/tcpdump.c
@@ -1,3 +1,5 @@
+/* $OpenBSD: tcpdump.c,v 1.19 2000/10/03 14:21:57 ho Exp $ */
+
/*
* Copyright (c) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997
* The Regents of the University of California. All rights reserved.
@@ -24,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.18 2000/04/30 05:23:28 ericj Exp $ (LBL)";
+ "@(#) $Header: /home/cvs/src/usr.sbin/tcpdump/tcpdump.c,v 1.19 2000/10/03 14:21:57 ho Exp $ (LBL)";
#endif
/*
@@ -46,6 +48,7 @@ static const char rcsid[] =
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
+#include <ctype.h>
#include "interface.h"
#include "addrtoname.h"