aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2006-10-09 23:28:30 +0000
committerGerald Combs <gerald@wireshark.org>2006-10-09 23:28:30 +0000
commitc43a1dffed57a16ab254dc91674349fed729ab0c (patch)
tree924b5a9d0ea87360c8026e874104c23095f88078 /test
parenta2a1c0c3d1c3ba5bd743faeeebe2459be8e4d44d (diff)
Pick up TRAFFIC_CAPTURE_IFACE from the environment if it's set, otherwise
use a default value. svn path=/trunk/; revision=19466
Diffstat (limited to 'test')
-rw-r--r--test/config.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/config.sh b/test/config.sh
index e3fd1003f5..394c18c00b 100644
--- a/test/config.sh
+++ b/test/config.sh
@@ -47,7 +47,7 @@ DUMPCAP=$WS_BIN_PATH/dumpcap
# interface with at least a few packets/sec traffic on it
# (e.g. start a web radio to generate some traffic :-)
# an interfaces index (1 based) should do well for recent devbuilds
-TRAFFIC_CAPTURE_IFACE=3
+TRAFFIC_CAPTURE_IFACE=${TRAFFIC_CAPTURE_IFACE:-3}
# time to capture some traffic (in seconds)
# (you may increase this if you get errors caused by very low traffic)