aboutsummaryrefslogtreecommitdiff
path: root/pcap-usb-linux.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2019-01-15 12:32:38 -0800
committerGuy Harris <guy@alum.mit.edu>2019-01-15 12:32:38 -0800
commitc83e81ea443de5a1250ad5f8977e175ddae7a05c (patch)
tree4f8f0b855666003260fb1e80ee6b04e9eab6daa1 /pcap-usb-linux.c
parent9c395d488be64aa5fa79663c0d7b37b4e5198caf (diff)
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.)
Diffstat (limited to 'pcap-usb-linux.c')
-rw-r--r--pcap-usb-linux.c4
1 files changed, 2 insertions, 2 deletions
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;
}