summaryrefslogtreecommitdiff
path: root/op-mode-definitions
diff options
context:
space:
mode:
authorhagbard <vyosdev@derith.de>2018-09-02 09:28:36 -0700
committerhagbard <vyosdev@derith.de>2018-09-02 09:28:36 -0700
commitd6679e21bc58a37195b518e6b51bc7a50df1b947 (patch)
treea4208622bfd8f49ec1c75cc07c0ae46fde13049a /op-mode-definitions
parent228a3beec9d1fadd91b73b8547caec93c8e009f1 (diff)
parentc49ec1392ba68a20af13c21f8a739d7b1dbc4906 (diff)
downloadvyos-1x-d6679e21bc58a37195b518e6b51bc7a50df1b947.tar.gz
vyos-1x-d6679e21bc58a37195b518e6b51bc7a50df1b947.zip
Merge remote-tracking branch 'upstream/current' into T793
Diffstat (limited to 'op-mode-definitions')
-rw-r--r--op-mode-definitions/traffic-dump.xml8
1 files changed, 4 insertions, 4 deletions
diff --git a/op-mode-definitions/traffic-dump.xml b/op-mode-definitions/traffic-dump.xml
index a6810644e..00a809a7c 100644
--- a/op-mode-definitions/traffic-dump.xml
+++ b/op-mode-definitions/traffic-dump.xml
@@ -8,7 +8,7 @@
</properties>
<children>
<tagNode name="interface">
- <command>tcpdump -i $4</command>
+ <command>sudo tcpdump -i $4</command>
<properties>
<help>Monitor traffic dump from an interface</help>
<completionHelp>
@@ -17,19 +17,19 @@
</properties>
<children>
<tagNode name="filter">
- <command>tcpdump -n -i $4 $6</command>
+ <command>sudo tcpdump -n -i $4 $6</command>
<properties>
<help>Monitor traffic matching filter conditions</help>
</properties>
</tagNode>
<tagNode name="save">
- <command>tcpdump -n -i $4 -w $6</command>
+ <command>sudo tcpdump -n -i $4 -w $6</command>
<properties>
<help>Save traffic dump from an interface to a file</help>
</properties>
<children>
<tagNode name="filter">
- <command>tcpdump -n -i $4 -w $6 $8</command>
+ <command>sudo tcpdump -n -i $4 -w $6 $8</command>
<properties>
<help>Save a dump of traffic matching filter conditions to a file</help>
</properties>