From c83e81ea443de5a1250ad5f8977e175ddae7a05c Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Tue, 15 Jan 2019 12:32:38 -0800 Subject: Emphasize that this is *raw* USB traffic. Hopefully that will make it less likely that people will think that, in order to capture on a network adapter that happens to be connected via USB, they should capture on the USB bus rather than on the adapter. (Yes, that happens.) --- pcap-usb-linux.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pcap-usb-linux.c') diff --git a/pcap-usb-linux.c b/pcap-usb-linux.c index 09271631..3e70a8dc 100644 --- a/pcap-usb-linux.c +++ b/pcap-usb-linux.c @@ -242,7 +242,7 @@ usb_dev_add(pcap_if_list_t *devlistp, int n, char *err_str) */ if (add_dev(devlistp, dev_name, PCAP_IF_CONNECTION_STATUS_NOT_APPLICABLE, - "All USB buses", err_str) == NULL) + "Raw USB traffic, all USB buses", err_str) == NULL) return -1; } else { /* @@ -251,7 +251,7 @@ usb_dev_add(pcap_if_list_t *devlistp, int n, char *err_str) * PCAP_IF_CONNECTION_STATUS_CONNECTED or * PCAP_IF_CONNECTION_STATUS_DISCONNECTED? */ - pcap_snprintf(dev_descr, 30, "USB bus number %d", n); + pcap_snprintf(dev_descr, 30, "Raw USB traffic, bus number %d", n); if (add_dev(devlistp, dev_name, 0, dev_descr, err_str) == NULL) return -1; } -- cgit v1.2.3