From: hannes Date: Sun, 3 Nov 2002 23:04:07 +0000 (+0000) Subject: better handling of PPP protocols which we know but do not have a dissector X-Git-Tag: tcpdump-3.8-bp~310 X-Git-Url: https://git.tcpdump.org/tcpdump/commitdiff_plain/a8cd324e5d0108d5f98b15e5f20eb6a7a5acdc3a better handling of PPP protocols which we know but do not have a dissector --- diff --git a/print-ppp.c b/print-ppp.c index ec72538f..8b418a14 100644 --- a/print-ppp.c +++ b/print-ppp.c @@ -31,7 +31,7 @@ #ifndef lint static const char rcsid[] = - "@(#) $Header: /tcpdump/master/tcpdump/print-ppp.c,v 1.76 2002-10-10 17:50:22 hannes Exp $ (LBL)"; + "@(#) $Header: /tcpdump/master/tcpdump/print-ppp.c,v 1.77 2002-11-03 23:04:07 hannes Exp $ (LBL)"; #endif #ifdef HAVE_CONFIG_H @@ -986,8 +986,8 @@ handle_ppp(u_int proto, const u_char *p, int length) mpls_print(p, length); break; default: - if (!vflag) - printf("unknown PPP protocol (0x%04x)", proto); + printf("unknown PPP protocol (0x%04x)", proto); + print_unknown_data(p,"\n\t",length); break; } }