]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-llc.c
Address Michael's comments.
[tcpdump] / print-llc.c
index d20fbdf13c36a151952bc66a0ab7fcaf225b2cb0..a1934715c18843abaf98d4884b5cfe5e7d0f5af5 100644 (file)
@@ -417,7 +417,7 @@ snap_print(const u_char *p, u_int length, u_int caplen, u_int bridge_pad)
                 * Cisco hardware; the protocol ID is
                 * an Ethernet protocol type.
                 */
-               ret = ethertype_print(et, p, length, caplen);
+               ret = ethertype_print(gndo, et, p, length, caplen);
                if (ret)
                        return (ret);
                break;
@@ -432,7 +432,7 @@ snap_print(const u_char *p, u_int length, u_int caplen, u_int bridge_pad)
                         * but used 0x000000 and an Ethernet
                         * packet type for AARP packets.
                         */
-                       ret = ethertype_print(et, p, length, caplen);
+                       ret = ethertype_print(gndo, et, p, length, caplen);
                        if (ret)
                                return (ret);
                }
@@ -479,7 +479,7 @@ snap_print(const u_char *p, u_int length, u_int caplen, u_int bridge_pad)
                        /*
                         * What remains is an Ethernet packet.
                         */
-                       ether_print(p, length, caplen, NULL, NULL);
+                       ether_print(gndo, p, length, caplen, NULL, NULL);
                        return (1);
 
                case PID_RFC2684_802_5_FCS: