summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkroy-the-rabbit <kroy@kroy.io>2020-03-23 10:05:09 -0500
committerGitHub <noreply@github.com>2020-03-23 10:05:09 -0500
commit25ac10a2f4d216b18ef93ae5bdd3e39e0cc25239 (patch)
tree50d7bc0ccbab31dba2797db54c7cade32379dd64
parentaa1b14d6ee8845ecd94565d9f33748c9b2eb9489 (diff)
downloadvyos-1x-25ac10a2f4d216b18ef93ae5bdd3e39e0cc25239.tar.gz
vyos-1x-25ac10a2f4d216b18ef93ae5bdd3e39e0cc25239.zip
T2153: fix op_mode traceroute circular reference
traceroute was calling the cli version of itself instead of the underlying binary
-rw-r--r--op-mode-definitions/traceroute.xml6
1 files changed, 3 insertions, 3 deletions
diff --git a/op-mode-definitions/traceroute.xml b/op-mode-definitions/traceroute.xml
index d16e9e3b8..d623fe103 100644
--- a/op-mode-definitions/traceroute.xml
+++ b/op-mode-definitions/traceroute.xml
@@ -12,7 +12,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>traceroute $2</command>
+ <command>/usr/bin/traceroute $2</command>
</tagNode>
<tagNode name="ipv4">
<properties>
@@ -21,7 +21,7 @@
<list>&lt;hostname&gt; &lt;x.x.x.x&gt;</list>
</completionHelp>
</properties>
- <command>traceroute -4 $3</command>
+ <command>/usr/bin/traceroute -4 $3</command>
</tagNode>
<tagNode name="ipv6">
<properties>
@@ -30,7 +30,7 @@
<list>&lt;hostname&gt; &lt;h:h:h:h:h:h:h:h&gt;</list>
</completionHelp>
</properties>
- <command>traceroute -6 $3</command>
+ <command>/usr/bin/traceroute -6 $3</command>
</tagNode>
<tagNode name="vrf">
<properties>