diff options
author | Niels Provos <provos@cvs.openbsd.org> | 1998-06-11 00:01:26 +0000 |
---|---|---|
committer | Niels Provos <provos@cvs.openbsd.org> | 1998-06-11 00:01:26 +0000 |
commit | 281a4fc4a0494a68527aa1d0cc801abd22707d36 (patch) | |
tree | 501eee15745456c40ba0c45d192e72d951d34d9f /usr.sbin/tcpdump/tcpdump.c | |
parent | 5d17330258932e13f4c80045949433571f0cd47e (diff) |
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.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/tcpdump/tcpdump.c b/usr.sbin/tcpdump/tcpdump.c index e2f849d3b6a..15c00f4a87f 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.8 1998/06/04 23:11:42 deraadt Exp $ (LBL)"; + "@(#) $Header: /cvs/OpenBSD/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 }, }; |