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
Harald Welte 2020-12-12 16:26:58 +01:00
parent 0bf74e560a
commit 8132008573
1 changed files with 1 additions and 1 deletions

View File

@ -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="-i lo"
for f in /sys/class/net/*; do
DEV=`basename $f`
if [[ "$DEV" == "hdlcnet"* ]]; then