summaryrefslogtreecommitdiff
path: root/op-mode-definitions/traceroute.xml.in
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-05-18 22:28:47 +0200
committerChristian Poessinger <christian@poessinger.com>2021-05-18 22:28:47 +0200
commit21d97ba0651fc20bded91e22e00a402d0044da3c (patch)
tree95ef4d9fc1c34bb31114d6e1d303df03004a46a0 /op-mode-definitions/traceroute.xml.in
parentb76931e6d3a4bd0cdb74ca447a746ab6855fcf55 (diff)
downloadvyos-1x-21d97ba0651fc20bded91e22e00a402d0044da3c.tar.gz
vyos-1x-21d97ba0651fc20bded91e22e00a402d0044da3c.zip
op-mode: drop full path to iproute2 binary
Diffstat (limited to 'op-mode-definitions/traceroute.xml.in')
-rw-r--r--op-mode-definitions/traceroute.xml.in20
1 files changed, 10 insertions, 10 deletions
diff --git a/op-mode-definitions/traceroute.xml.in b/op-mode-definitions/traceroute.xml.in
index 1b619ed43..e3217235c 100644
--- a/op-mode-definitions/traceroute.xml.in
+++ b/op-mode-definitions/traceroute.xml.in
@@ -90,7 +90,7 @@
<list>&lt;hostname&gt; &lt;x.x.x.x&gt; &lt;h:h:h:h:h:h:h:h&gt;</list>
</completionHelp>
</properties>
- <command>sudo /usr/sbin/ip vrf exec "$3" /usr/bin/traceroute "$4"</command>
+ <command>sudo ip vrf exec "$3" /usr/bin/traceroute "$4"</command>
</tagNode>
<tagNode name="ipv4">
<properties>
@@ -99,13 +99,13 @@
<list>&lt;hostname&gt; &lt;x.x.x.x&gt;</list>
</completionHelp>
</properties>
- <command>sudo /usr/sbin/ip vrf exec "$3" /usr/bin/traceroute -4 "$5"</command>
+ <command>sudo ip vrf exec "$3" /usr/bin/traceroute -4 "$5"</command>
<children>
<node name="tcp">
<properties>
<help>Route tracing and port detection using TCP</help>
</properties>
- <command>sudo /usr/sbin/ip vrf exec "$3" /usr/bin/tcptraceroute "$5" </command>
+ <command>sudo ip vrf exec "$3" /usr/bin/tcptraceroute "$5" </command>
<children>
<tagNode name="port">
<properties>
@@ -114,7 +114,7 @@
<list>0-65535</list>
</completionHelp>
</properties>
- <command>sudo /usr/sbin/ip vrf exec "$3" /usr/bin/tcptraceroute "$5" $8</command>
+ <command>sudo ip vrf exec "$3" /usr/bin/tcptraceroute "$5" $8</command>
</tagNode>
</children>
</node>
@@ -127,13 +127,13 @@
<list>&lt;hostname&gt; &lt;h:h:h:h:h:h:h:h&gt;</list>
</completionHelp>
</properties>
- <command>sudo /usr/sbin/ip vrf exec "$3" /usr/bin/traceroute -6 "$5"</command>
+ <command>sudo ip vrf exec "$3" /usr/bin/traceroute -6 "$5"</command>
<children>
<node name="tcp">
<properties>
<help>Use TCP/IPv6 packets to perform a traceroute</help>
</properties>
- <command>sudo /usr/sbin/ip vrf exec "$3" /usr/bin/tcptraceroute6 "$5" </command>
+ <command>sudo ip vrf exec "$3" /usr/bin/tcptraceroute6 "$5" </command>
<children>
<tagNode name="port">
<properties>
@@ -142,7 +142,7 @@
<list>0-65535</list>
</completionHelp>
</properties>
- <command>sudo /usr/sbin/ip vrf exec "$3" /usr/bin/tcptraceroute6 "$5" $8</command>
+ <command>sudo ip vrf exec "$3" /usr/bin/tcptraceroute6 "$5" $8</command>
</tagNode>
</children>
</node>
@@ -198,7 +198,7 @@
<list>&lt;fqdn&gt;</list>
</completionHelp>
</properties>
- <command>sudo /usr/sbin/ip vrf exec "$4" /usr/bin/mtr -4 "$6"</command>
+ <command>sudo ip vrf exec "$4" /usr/bin/mtr -4 "$6"</command>
</tagNode>
<tagNode name="ipv6">
<properties>
@@ -207,7 +207,7 @@
<list>&lt;fqdn&gt;</list>
</completionHelp>
</properties>
- <command>sudo /usr/sbin/ip vrf exec "$4" /usr/bin/mtr -6 "$6"</command>
+ <command>sudo ip vrf exec "$4" /usr/bin/mtr -6 "$6"</command>
</tagNode>
<tagNode name="">
<properties>
@@ -216,7 +216,7 @@
<list>&lt;hostname&gt; &lt;x.x.x.x&gt; &lt;h:h:h:h:h:h:h:h&gt;</list>
</completionHelp>
</properties>
- <command>sudo /usr/sbin/ip vrf exec "$4" /usr/bin/mtr "$5"</command>
+ <command>sudo ip vrf exec "$4" /usr/bin/mtr "$5"</command>
</tagNode>
</children>
</tagNode>