summaryrefslogtreecommitdiff
path: root/templates/clear/ip
diff options
context:
space:
mode:
authorStig Thormodsrud <stig@vyatta.com>2008-02-26 16:21:48 -0800
committerStig Thormodsrud <stig@vyatta.com>2008-02-26 16:21:48 -0800
commitaf91e353109647aac21ac723c3ce9111cf582f3f (patch)
tree5da173aaeb930b68efd59011b47a394717e985eb /templates/clear/ip
parent7d6f0458f50d781d04e6dfe79dbbabbc7f4f3084 (diff)
downloadvyatta-op-af91e353109647aac21ac723c3ce9111cf582f3f.tar.gz
vyatta-op-af91e353109647aac21ac723c3ce9111cf582f3f.zip
Fix operator permissions for "clear arp" and "clear ip route cache".
Diffstat (limited to 'templates/clear/ip')
-rw-r--r--templates/clear/ip/route/cache/node.def2
-rw-r--r--templates/clear/ip/route/cache/node.tag/node.def2
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/clear/ip/route/cache/node.def b/templates/clear/ip/route/cache/node.def
index 3ec559d..9648cef 100644
--- a/templates/clear/ip/route/cache/node.def
+++ b/templates/clear/ip/route/cache/node.def
@@ -1,2 +1,2 @@
help: Flush the kernel route cache
-run: sudo ip route flush cache
+run: sudo ${vyatta_bindir}/sudo-users/ip route flush cache
diff --git a/templates/clear/ip/route/cache/node.tag/node.def b/templates/clear/ip/route/cache/node.tag/node.def
index 288fcbc..37fc458 100644
--- a/templates/clear/ip/route/cache/node.tag/node.def
+++ b/templates/clear/ip/route/cache/node.tag/node.def
@@ -1,3 +1,3 @@
help: Flush the kernel route cache for a given route
allowed: echo -n '<network>'
-run: sudo ip route flush cache $5
+run: sudo ${vyatta_bindir}/sudo-users/ip route flush cache $5