aboutsummaryrefslogtreecommitdiffstats
path: root/resources
diff options
context:
space:
mode:
Diffstat (limited to 'resources')
-rw-r--r--resources/libraries/python/TLDK/UdpTest.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/resources/libraries/python/TLDK/UdpTest.py b/resources/libraries/python/TLDK/UdpTest.py
index adc8aa0ed0..0571323dcf 100644
--- a/resources/libraries/python/TLDK/UdpTest.py
+++ b/resources/libraries/python/TLDK/UdpTest.py
@@ -114,8 +114,8 @@ class UdpTest(object):
"""
ssh = SSH()
ssh.connect(dut_node)
- cmd = 'cd {0}; tcpdump -nnnn -vvv -r ./{2}/{1}_tx.pcap | ' \
- 'grep \'udp sum ok\' | wc -l' \
+ cmd = 'cd {0}; sudo /usr/sbin/tcpdump -nnnn -vvv -r ./{2}/{1}_tx.pcap' \
+ ' | grep \'udp sum ok\' | wc -l' \
.format(con.REMOTE_FW_DIR, file_prefix, con.TLDK_TESTCONFIG)
(ret_code, stdout, _) = ssh.exec_command(cmd, timeout=100)