]> The Tcpdump Group git mirrors - tcpdump/commitdiff
better handling of PPP protocols which we know but do not have a dissector
authorhannes <hannes>
Sun, 3 Nov 2002 23:04:07 +0000 (23:04 +0000)
committerhannes <hannes>
Sun, 3 Nov 2002 23:04:07 +0000 (23:04 +0000)
print-ppp.c

index ec72538f89fdc7b4286aa761076767d4b563320d..8b418a14c21c92334f984fe0a499827696f222e9 100644 (file)
@@ -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;
        }
 }