summaryrefslogtreecommitdiff
path: root/print-atm.c
diff options
context:
space:
mode:
authorguy <guy>2002-12-11 06:55:08 +0000
committerguy <guy>2002-12-11 06:55:08 +0000
commita4ca4ac175a01317881569d704e18e537d13013d (patch)
tree483cbf002b5d6d11b2f2c23abf91a1528a55c730 /print-atm.c
parent4081766c05975203d9c43f7fea5aed8f7ce32c87 (diff)
downloadtcpdump-a4ca4ac175a01317881569d704e18e537d13013d.tar.gz
Fix another place to go back to calling "llc_print()", to handle the
case of the Ethernet type not being known, and not pass in a non-null "extracted_ethertype" pointer (otherwise "llc_print()" dumps core).
Diffstat (limited to 'print-atm.c')
-rw-r--r--print-atm.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/print-atm.c b/print-atm.c
index a87d1042..b1e59850 100644
--- a/print-atm.c
+++ b/print-atm.c
@@ -20,7 +20,7 @@
*/
#ifndef lint
static const char rcsid[] =
- "@(#) $Header: /tcpdump/master/tcpdump/print-atm.c,v 1.29 2002-12-10 08:03:36 guy Exp $ (LBL)";
+ "@(#) $Header: /tcpdump/master/tcpdump/print-atm.c,v 1.30 2002-12-11 06:55:08 guy Exp $ (LBL)";
#endif
#ifdef HAVE_CONFIG_H
@@ -268,9 +268,8 @@ atm_print(u_int vpi, u_int vci, u_int traftype, const u_char *p, u_int length,
default:
/*
* Assumes traffic is LLC if unknown.
- * call into the generic LLC handler
*/
- llc_print(p, length, caplen, NULL, NULL, NULL);
+ atm_llc_print(p, length, caplen);
break;
case ATM_LANE: