summaryrefslogtreecommitdiff
path: root/op-mode-definitions/show-ip-route.xml.in
diff options
context:
space:
mode:
Diffstat (limited to 'op-mode-definitions/show-ip-route.xml.in')
-rw-r--r--op-mode-definitions/show-ip-route.xml.in4
1 files changed, 2 insertions, 2 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>