diff options
author | Angelos D. Keromytis <angelos@cvs.openbsd.org> | 1999-12-08 21:45:01 +0000 |
---|---|---|
committer | Angelos D. Keromytis <angelos@cvs.openbsd.org> | 1999-12-08 21:45:01 +0000 |
commit | 7245cfb5dc94a9ee154db6668cff71b76c748778 (patch) | |
tree | 9000130bd78e01252b484fc6e9611867bc5511f3 /usr.sbin/tcpdump | |
parent | 692440b025b1d9483f7ea0df3c85aed9f715e262 (diff) |
Just comment out the M_TUNNEL case...
Diffstat (limited to 'usr.sbin/tcpdump')
-rw-r--r-- | usr.sbin/tcpdump/print-enc.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/usr.sbin/tcpdump/print-enc.c b/usr.sbin/tcpdump/print-enc.c index 1f2e3ff5b63..b843e35d9cb 100644 --- a/usr.sbin/tcpdump/print-enc.c +++ b/usr.sbin/tcpdump/print-enc.c @@ -21,7 +21,7 @@ #ifndef lint static const char rcsid[] = - "@(#) $Header: /cvs/OpenBSD/src/usr.sbin/tcpdump/print-enc.c,v 1.3 1999/12/08 13:28:06 itojun Exp $ (LBL)"; + "@(#) $Header: /cvs/OpenBSD/src/usr.sbin/tcpdump/print-enc.c,v 1.4 1999/12/08 21:45:00 angelos Exp $ (LBL)"; #endif #include <sys/param.h> @@ -83,15 +83,11 @@ enc_if_print(u_char *user, const struct pcap_pkthdr *h, snapend = p + caplen; hdr = (struct enchdr *)p; -#if 0 - printf("SPI 0x%08x (", ntohl(hdr->spi)); flags = hdr->flags; ENC_PRINT_TYPE(flags, M_AUTH, "authentic"); ENC_PRINT_TYPE(flags, M_CONF, "confidential"); - ENC_PRINT_TYPE(flags, M_TUNNEL, "tunnel"); -#else + /* ENC_PRINT_TYPE(flags, M_TUNNEL, "tunnel"); */ printf("SPI 0x%08x: ", ntohl(hdr->spi)); -#endif length -= ENC_HDRLEN; ip = (struct ip *)(p + ENC_HDRLEN); |