diff options
Diffstat (limited to 'print-chdlc.c')
-rw-r--r-- | print-chdlc.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/print-chdlc.c b/print-chdlc.c index 7354dc72..8de73748 100644 --- a/print-chdlc.c +++ b/print-chdlc.c @@ -21,7 +21,7 @@ #ifndef lint static const char rcsid[] _U_ = - "@(#) $Header: /tcpdump/master/tcpdump/print-chdlc.c,v 1.41 2005-11-04 18:30:21 hannes Exp $ (LBL)"; + "@(#) $Header: /tcpdump/master/tcpdump/print-chdlc.c,v 1.42 2005-11-24 07:42:53 hannes Exp $ (LBL)"; #endif #ifdef HAVE_CONFIG_H @@ -110,7 +110,8 @@ chdlc_print(register const u_char *p, u_int length) { isoclns_print(p+CHDLC_HDRLEN, length, length); break; default: - printf("unknown CHDLC protocol (0x%04x)", proto); + if (!eflag) + printf("unknown CHDLC protocol (0x%04x)", proto); break; } |