summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhannes <hannes>2002-11-03 23:04:07 +0000
committerhannes <hannes>2002-11-03 23:04:07 +0000
commita8cd324e5d0108d5f98b15e5f20eb6a7a5acdc3a (patch)
tree9bb7db9083b789c62250cc5025a87df17218615a
parente426556d7cde7e893a31b3b260d8b1995a39536f (diff)
downloadtcpdump-a8cd324e5d0108d5f98b15e5f20eb6a7a5acdc3a.tar.gz
better handling of PPP protocols which we know but do not have a dissector
-rw-r--r--print-ppp.c6
1 files changed, 3 insertions, 3 deletions
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;
}
}