]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-bt.c
Add the ndo_protocol field in the netdissect_options structure
[tcpdump] / print-bt.c
index 40b7f9718cf3e935708b4ebddfba1a14656c32f5..61eb7b23d8ed61206436a83520eabb5a4320bd07 100644 (file)
@@ -47,6 +47,7 @@ bt_if_print(netdissect_options *ndo, const struct pcap_pkthdr *h, const u_char *
        u_int caplen = h->caplen;
        const pcap_bluetooth_h4_header* hdr = (const pcap_bluetooth_h4_header*)p;
 
+       ndo->ndo_protocol = "bt_if";
        if (caplen < BT_HDRLEN || length < BT_HDRLEN)
                goto trunc;
        caplen -= BT_HDRLEN;