summaryrefslogtreecommitdiff
path: root/op-mode-definitions
diff options
context:
space:
mode:
Diffstat (limited to 'op-mode-definitions')
-rw-r--r--op-mode-definitions/show-ip-route.xml.in4
-rw-r--r--op-mode-definitions/show-ipv6-route.xml.in4
2 files changed, 4 insertions, 4 deletions
diff --git a/op-mode-definitions/show-ip-route.xml.in b/op-mode-definitions/show-ip-route.xml.in
index 729572b4a..0a24bc45a 100644
--- a/op-mode-definitions/show-ip-route.xml.in
+++ b/op-mode-definitions/show-ip-route.xml.in
@@ -153,9 +153,9 @@
<children>
<leafNode name="longer-prefixes">
<properties>
- <help>Show longer prefixes of routes for specified IP address or prefix</help>
+ <help>Show longer prefixes of routes for specified prefix</help>
</properties>
- <command>vtysh -c "show ip route $4 longer-prefixes"</command>
+ <command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command>
</leafNode>
</children>
</tagNode>
diff --git a/op-mode-definitions/show-ipv6-route.xml.in b/op-mode-definitions/show-ipv6-route.xml.in
index 065ea6f1f..8624574ac 100644
--- a/op-mode-definitions/show-ipv6-route.xml.in
+++ b/op-mode-definitions/show-ipv6-route.xml.in
@@ -133,9 +133,9 @@
<children>
<node name="longer-prefixes">
<properties>
- <help>Show longer prefixes of routes for given address or prefix</help>
+ <help>Show longer prefixes of routes for given prefix</help>
</properties>
- <command>vtysh -c "show ipv6 route $4 longer-prefixes"</command>
+ <command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command>
</node>
</children>
<command>vtysh -c "show ipv6 route $4"</command>