summaryrefslogtreecommitdiff
path: root/usr.sbin/tcpdump
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1998-06-04 23:11:43 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1998-06-04 23:11:43 +0000
commit2df7f6110dc24b8d55e1c6c2c825fb2e393cdfb2 (patch)
treea8308b23899504202ffb5a1925373b719ca95e59 /usr.sbin/tcpdump
parent9aae5068afee870336e415b14d15b3d9dde81e34 (diff)
add DLT_LOOP support; 4-byte header indicates proto; cstone@pobox.com
Diffstat (limited to 'usr.sbin/tcpdump')
-rw-r--r--usr.sbin/tcpdump/tcpdump.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/tcpdump/tcpdump.c b/usr.sbin/tcpdump/tcpdump.c
index 06622b6a5fb..e2f849d3b6a 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\n\
The Regents of the University of California. All rights reserved.\n";
static const char rcsid[] =
- "@(#) $Header: /cvs/OpenBSD/src/usr.sbin/tcpdump/tcpdump.c,v 1.7 1997/01/15 23:44:25 millert Exp $ (LBL)";
+ "@(#) $Header: /cvs/OpenBSD/src/usr.sbin/tcpdump/tcpdump.c,v 1.8 1998/06/04 23:11:42 deraadt Exp $ (LBL)";
#endif
/*
@@ -98,6 +98,7 @@ static struct printer printers[] = {
{ fddi_if_print, DLT_FDDI },
{ null_if_print, DLT_NULL },
{ atm_if_print, DLT_ATM_RFC1483 },
+ { null_if_print, DLT_LOOP },
{ NULL, 0 },
};