X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/3824a6c0417a551961d1a1bf4f94f10eff736afc..ad87e9495c5c5ecdbb38b7ad76e9c54d7e9852ac:/print-enc.c diff --git a/print-enc.c b/print-enc.c index 14b08f1c..605ca33d 100644 --- a/print-enc.c +++ b/print-enc.c @@ -21,6 +21,10 @@ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. */ +#ifndef lint +static const char rcsid[] _U_ = + "@(#) $Header: /tcpdump/master/tcpdump/print-enc.c,v 1.4 2005-04-06 21:32:39 mcr Exp $ (LBL)"; +#endif #ifdef HAVE_CONFIG_H #include "config.h" @@ -33,10 +37,6 @@ #include "interface.h" #include "addrtoname.h" -#ifndef lint -static const char rcsid[] _U_ = - "@(#) $Header: /tcpdump/master/tcpdump/print-enc.c,v 1.2 2003-11-15 00:39:21 guy Exp $ (LBL)"; -#endif #include "enc.h" #define ENC_PRINT_TYPE(wh, xf, nam) \ @@ -71,8 +71,16 @@ enc_if_print(const struct pcap_pkthdr *h, register const u_char *p) length -= ENC_HDRLEN; /* XXX - use the address family */ - ip_print(p + ENC_HDRLEN, length); + ip_print(gndo, p + ENC_HDRLEN, length); out: return (ENC_HDRLEN); } + + +/* + * Local Variables: + * c-style: whitesmith + * c-basic-offset: 8 + * End: + */