summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-06-29 21:45:17 +0200
committerChristian Poessinger <christian@poessinger.com>2021-06-29 21:45:19 +0200
commit31bbac481c53a2cf86d593136218b60037fb4b41 (patch)
treeb0345fab496aee0c4d598f49d03f02a02df2f44c /src
parent065c6b620cb52a3235c7b6e210d34dc8cb943b95 (diff)
downloadvyos-1x-31bbac481c53a2cf86d593136218b60037fb4b41.tar.gz
vyos-1x-31bbac481c53a2cf86d593136218b60037fb4b41.zip
Debian: T3641: remove absolut path to tcpdump which now resides in /usr/bin
Diffstat (limited to 'src')
-rwxr-xr-xsrc/completion/list_dumpable_interfaces.py2
1 files changed, 1 insertions, 1 deletions
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)