summaryrefslogtreecommitdiff
path: root/templates/show/ip
diff options
context:
space:
mode:
Diffstat (limited to 'templates/show/ip')
-rw-r--r--templates/show/ip/route/cache/node.tag/node.def2
-rw-r--r--templates/show/ip/route/forward/node.tag/node.def2
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/show/ip/route/cache/node.tag/node.def b/templates/show/ip/route/cache/node.tag/node.def
index 85fe4e6..2cb78d5 100644
--- a/templates/show/ip/route/cache/node.tag/node.def
+++ b/templates/show/ip/route/cache/node.tag/node.def
@@ -1,3 +1,3 @@
help: Show kernel route cache for a given route
-allowed: echo -n '<network>'
+allowed: echo -n '<x.x.x.x | x.x.x.x/x>'
run: ip -s route list cache $5
diff --git a/templates/show/ip/route/forward/node.tag/node.def b/templates/show/ip/route/forward/node.tag/node.def
index 257eb0f..e1ba954 100644
--- a/templates/show/ip/route/forward/node.tag/node.def
+++ b/templates/show/ip/route/forward/node.tag/node.def
@@ -1,3 +1,3 @@
help: Show kernel route table for a given route
-allowed: echo -n '<network>'
+allowed: echo -n '<x.x.x.x | x.x.x.x/x>'
run: ip -s route list $5