Pick up TRAFFIC_CAPTURE_IFACE from the environment if it's set, otherwise
authorgerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>
Mon, 9 Oct 2006 23:28:30 +0000 (23:28 +0000)
committergerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>
Mon, 9 Oct 2006 23:28:30 +0000 (23:28 +0000)
use a default value.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@19466 f5534014-38df-0310-8fa8-9805f1628bb7

test/config.sh

index e3fd1003f5333ae8e112f27d93aaadf365feb1e5..394c18c00bc3c099cdaf184584c6ed8d12b6c41b 100644 (file)
@@ -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)