summaryrefslogtreecommitdiff
path: root/test/config.sh
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2011-05-12 17:49:15 +0000
committerGerald Combs <gerald@wireshark.org>2011-05-12 17:49:15 +0000
commitf9fad8cd7593b5a756ba5dad878474580c3f9dd4 (patch)
tree7ef5bcc79f2aeb0913c88fbe7c742f92bb71ccd4 /test/config.sh
parent10ed23570784cc47029fcb2575279d38c33d024f (diff)
downloadwireshark-f9fad8cd7593b5a756ba5dad878474580c3f9dd4.tar.gz
"tshark -D" writes to stderr now.
svn path=/trunk/; revision=37092
Diffstat (limited to 'test/config.sh')
-rwxr-xr-xtest/config.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/config.sh b/test/config.sh
index b12588a35e..b6aa59acd8 100755
--- a/test/config.sh
+++ b/test/config.sh
@@ -55,7 +55,7 @@ DUMPCAP=$WS_BIN_PATH/dumpcap
# an interfaces index (1 based) should do well for recent devbuilds
if [ "$WS_SYSTEM" = "Windows" -a -z "$TRAFFIC_CAPTURE_IFACE" ] ; then
# Try to fetch the first Ethernet interface.
- TRAFFIC_CAPTURE_IFACE=`$TSHARK -D | \
+ TRAFFIC_CAPTURE_IFACE=`$TSHARK -D 2>&1 | \
egrep 'Ethernet|Network Connection|VMware' | \
head -1 | cut -c 1`
fi