]> The Tcpdump Group git mirrors - tcpdump/commitdiff
Fix another place to go back to calling "llc_print()", to handle the
authorguy <guy>
Wed, 11 Dec 2002 06:55:08 +0000 (06:55 +0000)
committerguy <guy>
Wed, 11 Dec 2002 06:55:08 +0000 (06:55 +0000)
case of the Ethernet type not being known, and not pass in a non-null
"extracted_ethertype" pointer (otherwise "llc_print()" dumps core).

print-atm.c

index a87d1042f5c776d66180d3e8538cec728d42c6ae..b1e59850e04ab1d68f916c2bf6bd8d0adef9b0a9 100644 (file)
@@ -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: