]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-ap1394.c
Add the ndo_protocol field in the netdissect_options structure
[tcpdump] / print-ap1394.c
index d39f27f7cf4df9515655515a5b934fd426349244..4326707f266b1d5ba561a6042c7a11599afee059 100644 (file)
@@ -94,6 +94,7 @@ ap1394_if_print(netdissect_options *ndo, const struct pcap_pkthdr *h, const u_ch
        u_short ether_type;
        struct lladdr_info src, dst;
 
+       ndo->ndo_protocol = "ap1394_if";
        if (caplen < FIREWIRE_HDRLEN) {
                ND_PRINT("[|ap1394]");
                return FIREWIRE_HDRLEN;