blob: 43a1068a3cdf835e9e5f12c389c13920ab2a95ed (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
--- t/Utils.pm.orig 2012-04-05 17:39:45.000000000 -0800
+++ t/Utils.pm 2012-04-05 17:41:15.000000000 -0800
@@ -73,7 +73,7 @@
my @devs = Net::Pcap::findalldevs(\%devs, \$err);
# filter out unusable devices
-@devs = grep { $_ ne "lo" and $_ ne "lo0" and $_ !~ /GenericDialupAdapter/ } @devs;
+@devs = grep { $_ ne "lo" and $_ ne "lo0" and $_ !~ /GenericDialupAdapter/ and $_ !~ /^usbus/ } @devs;
# check if the user has specified a prefered device to use for tests
if (open(PREF, "device.txt")) {
|