X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/27d428c0a126e9ca6518b16f011cacc1caab1f2c..6e12d87355718f309ce9f33183ff8235b9c5eb0d:/print-enc.c diff --git a/print-enc.c b/print-enc.c index a3c59b35..cfd924f9 100644 --- a/print-enc.c +++ b/print-enc.c @@ -21,11 +21,6 @@ * 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 @@ -36,7 +31,6 @@ static const char rcsid[] _U_ = #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 +112,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);