From 31bbac481c53a2cf86d593136218b60037fb4b41 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Tue, 29 Jun 2021 21:45:17 +0200 Subject: Debian: T3641: remove absolut path to tcpdump which now resides in /usr/bin --- src/completion/list_dumpable_interfaces.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/completion/list_dumpable_interfaces.py b/src/completion/list_dumpable_interfaces.py index 101c92fbe..67bf6206b 100755 --- a/src/completion/list_dumpable_interfaces.py +++ b/src/completion/list_dumpable_interfaces.py @@ -7,6 +7,6 @@ import re from vyos.util import cmd if __name__ == '__main__': - out = cmd('/usr/sbin/tcpdump -D').split('\n') + out = cmd('tcpdump -D').split('\n') intfs = " ".join(map(lambda s: re.search(r'\d+\.(\S+)\s', s).group(1), out)) print(intfs) -- cgit v1.2.3