]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-usb.c
the failed/passed count was not kept in the right place
[tcpdump] / print-usb.c
index d0ae440e6aa66804a6793e490073e2cf5b601434..07a0a5d18bef179050aa9e84ffcab03e8ff4a3ac 100644 (file)
@@ -187,6 +187,13 @@ usb_header_print(netdissect_options *ndo, const pcap_usb_header *uh)
        int direction;
        uint8_t transfer_type, event_type;
 
+       ndo->ndo_protocol = "usb";
+
+       nd_print_protocol_caps(ndo);
+       if (ndo->ndo_qflag)
+               return;
+
+       ND_PRINT(" ");
        transfer_type = GET_U_1(uh->transfer_type);
        switch(transfer_type)
        {