Browse Source

ttcn3-dumpcap-start.sh: Always capture lo interface

The loopback interface should always be captured, as it includes
the 'ping' commands we use to detect the start of the packet capture.

Change-Id: Ic3aee59dd230141a5d182e9babf8d33d59144aa4
changes/94/21694/1
Harald Welte 2 years ago
parent
commit
8132008573
  1. 2
      ttcn3-dumpcap-start.sh

2
ttcn3-dumpcap-start.sh

@ -62,7 +62,7 @@ echo $PID > $PIDFILE_NETCAT
# but must use dumpcap with each individual interface name. We also
# must write pcapng files, as only those can record the interface of
# each packet
ADDL_ARGS=""
ADDL_ARGS="-i lo"
for f in /sys/class/net/*; do
DEV=`basename $f`
if [[ "$DEV" == "hdlcnet"* ]]; then

Loading…
Cancel
Save