X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/27d428c0a126e9ca6518b16f011cacc1caab1f2c..ce1fc8263da72437c1df54b8b3ee682413d9e6ed:/print-enc.c diff --git a/print-enc.c b/print-enc.c index a3c59b35..c8bb3dec 100644 --- a/print-enc.c +++ b/print-enc.c @@ -21,22 +21,14 @@ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. */ -#ifndef lint -static const char rcsid[] _U_ = - "@(#) $Header: /tcpdump/master/tcpdump/print-enc.c,v 1.6 2008-11-18 07:35:32 guy Exp $ (LBL)"; -#endif - #ifdef HAVE_CONFIG_H #include "config.h" #endif #include -#include - #include "interface.h" #include "extract.h" -#include "addrtoname.h" /* From $OpenBSD: if_enc.h,v 1.8 2001/06/25 05:14:00 angelos Exp $ */ /* @@ -118,7 +110,7 @@ enc_if_print(const struct pcap_pkthdr *h, register const u_char *p) length -= ENC_HDRLEN; caplen -= ENC_HDRLEN; p += ENC_HDRLEN; - + switch (hdr->af) { case AF_INET: ip_print(gndo, p, length);