X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/4154b2a823b8212691334a0b6d33e50cc9d95e07..737c58073a86c184adf636b0bf4e15a8808f0f46:/print-cip.c diff --git a/print-cip.c b/print-cip.c index 7a2de818..58fec126 100644 --- a/print-cip.c +++ b/print-cip.c @@ -22,7 +22,7 @@ #ifndef lint static const char rcsid[] = - "@(#) $Header: /tcpdump/master/tcpdump/print-cip.c,v 1.10 2000-12-18 05:41:58 guy Exp $ (LBL)"; + "@(#) $Header: /tcpdump/master/tcpdump/print-cip.c,v 1.11 2000-12-22 22:45:10 guy Exp $ (LBL)"; #endif #ifdef HAVE_CONFIG_H @@ -136,7 +136,7 @@ cip_if_print(u_char *user, const struct pcap_pkthdr *h, const u_char *p) &extracted_ethertype)==0) { /* ether_type not known, print raw packet */ if (!eflag) - cip_print((u_char *)bp, length); + cip_print((u_char *)bp, length + RFC1483LLC_LEN); if (extracted_ethertype) { printf("(LLC %s) ", etherproto_string(htons(extracted_ethertype)));