summaryrefslogtreecommitdiffstats
path: root/usr.sbin/tcpdump/tcpdump.c
diff options
context:
space:
mode:
authorprovos <provos@openbsd.org>1998-06-11 00:01:18 +0000
committerprovos <provos@openbsd.org>1998-06-11 00:01:18 +0000
commitf22a9645a7f7267cf2b8252cbb5ea78c855a88c5 (patch)
treee499c388a70724930235287d94affe4699a32345 /usr.sbin/tcpdump/tcpdump.c
parentmake the packets which were successfully processed by IPSec available to (diff)
downloadwireguard-openbsd-f22a9645a7f7267cf2b8252cbb5ea78c855a88c5.tar.xz
wireguard-openbsd-f22a9645a7f7267cf2b8252cbb5ea78c855a88c5.zip
handle IPSec processed packets (DLT_ENC) in libpcap, display them with
tcpdump + additional info (SPI + which type of transforms where passed).
Diffstat (limited to 'usr.sbin/tcpdump/tcpdump.c')
-rw-r--r--usr.sbin/tcpdump/tcpdump.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/tcpdump/tcpdump.c b/usr.sbin/tcpdump/tcpdump.c
index d2c9d873f64..333df13b370 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: /home/cvs/src/usr.sbin/tcpdump/tcpdump.c,v 1.8 1998/06/04 23:11:42 deraadt Exp $ (LBL)";
+ "@(#) $Header: /home/cvs/src/usr.sbin/tcpdump/tcpdump.c,v 1.9 1998/06/11 00:01:24 provos Exp $ (LBL)";
#endif
/*
@@ -99,6 +99,8 @@ static struct printer printers[] = {
{ null_if_print, DLT_NULL },
{ atm_if_print, DLT_ATM_RFC1483 },
{ null_if_print, DLT_LOOP },
+ { enc_if_print, DLT_ENC },
+ { null_if_print, DLT_LOOP },
{ NULL, 0 },
};