Update the adapter name check to match the buildbot.

svn path=/trunk/; revision=29221
This commit is contained in:
Gerald Combs 2009-07-28 17:27:59 +00:00
parent 09c6b577f9
commit 507deea5cd
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ DUMPCAP=$WS_BIN_PATH/dumpcap
if [ "$WS_SYSTEM" = "Windows" -a -z "$TRAFFIC_CAPTURE_IFACE" ] ; then
# Try to fetch the first Ethernet interface.
TRAFFIC_CAPTURE_IFACE=`$TSHARK -D | \
egrep 'Ethernet|Network Connection' | \
egrep 'Ethernet|Network Connection|VMware' | \
head -1 | cut -c 1`
fi
TRAFFIC_CAPTURE_IFACE=${TRAFFIC_CAPTURE_IFACE:-1}