summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsever-sever <v.gletenko@vyos.io>2021-05-12 10:55:26 +0000
committerChristian Poessinger <christian@poessinger.com>2021-05-13 11:05:41 +0200
commit0fb658509aea643693008cbbcd717121c8c5761a (patch)
treec5914e37a207bfa608c780bfe501763c1ecbdf53
parent8e392a3dbc16f7b80a979f7b4e9c11408d700e6f (diff)
downloadvyos-1x-0fb658509aea643693008cbbcd717121c8c5761a.tar.gz
vyos-1x-0fb658509aea643693008cbbcd717121c8c5761a.zip
op-mode: T3536: Fix desc for route longer-prefixes
-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>