summaryrefslogtreecommitdiffstats
path: root/usr.sbin/tcpdump/tcpdump.c
diff options
context:
space:
mode:
authorjakob <jakob@openbsd.org>2000-04-26 21:35:36 +0000
committerjakob <jakob@openbsd.org>2000-04-26 21:35:36 +0000
commitedd7aa8f67df825a965c4ef6f0e226f29443ab4c (patch)
treea2ae67108629743ed0713cf19ec6c5c80a139c8c /usr.sbin/tcpdump/tcpdump.c
parentremove debug (diff)
downloadwireguard-openbsd-edd7aa8f67df825a965c4ef6f0e226f29443ab4c.tar.xz
wireguard-openbsd-edd7aa8f67df825a965c4ef6f0e226f29443ab4c.zip
INET6
DHCP/BOOTP tcp & udp checksum detection numerous bugfixes
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 b47704c3bc7..7efddb2aaaf 100644
--- a/usr.sbin/tcpdump/tcpdump.c
+++ b/usr.sbin/tcpdump/tcpdump.c
@@ -24,7 +24,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.16 2000/03/26 05:24:25 ericj Exp $ (LBL)";
+ "@(#) $Header: /home/cvs/src/usr.sbin/tcpdump/tcpdump.c,v 1.17 2000/04/26 21:35:44 jakob Exp $ (LBL)";
#endif
/*
@@ -283,6 +283,9 @@ main(int argc, char **argv)
/* NOTREACHED */
}
+ if (aflag && nflag)
+ error("-a and -n options are incompatible");
+
if (tflag > 0)
thiszone = gmt2local(0);