From 8132008573a3d88327127258f3ca228e693e5ef5 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Sat, 12 Dec 2020 16:26:58 +0100 Subject: [PATCH] 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 --- ttcn3-dumpcap-start.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ttcn3-dumpcap-start.sh b/ttcn3-dumpcap-start.sh index 4832b6dbc..3aec9b99a 100755 --- a/ttcn3-dumpcap-start.sh +++ b/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