summaryrefslogtreecommitdiff
path: root/templates/clear/policy
diff options
context:
space:
mode:
Diffstat (limited to 'templates/clear/policy')
-rwxr-xr-xtemplates/clear/policy/ipv6-route/node.def2
-rwxr-xr-xtemplates/clear/policy/ipv6-route/node.tag/node.def2
-rwxr-xr-xtemplates/clear/policy/route/node.def2
-rw-r--r--templates/clear/policy/route/node.tag/counters/node.def2
-rwxr-xr-xtemplates/clear/policy/route/node.tag/node.def2
5 files changed, 5 insertions, 5 deletions
diff --git a/templates/clear/policy/ipv6-route/node.def b/templates/clear/policy/ipv6-route/node.def
index ef1851f..f4d5e78 100755
--- a/templates/clear/policy/ipv6-route/node.def
+++ b/templates/clear/policy/ipv6-route/node.def
@@ -1 +1 @@
-help: Clear policy statistics for chain
+help: Clear policy statistics for a given policy route
diff --git a/templates/clear/policy/ipv6-route/node.tag/node.def b/templates/clear/policy/ipv6-route/node.tag/node.def
index b01a78f..c201eca 100755
--- a/templates/clear/policy/ipv6-route/node.tag/node.def
+++ b/templates/clear/policy/ipv6-route/node.tag/node.def
@@ -1,4 +1,4 @@
-help: Clear firewall rules for a given chain
+help: Clear policy rules for a given policy route
allowed: local -a vals
eval "vals=($(cli-shell-api listActiveNodes policy ipv6-route))"
echo -n ${vals[@]}
diff --git a/templates/clear/policy/route/node.def b/templates/clear/policy/route/node.def
index ef1851f..f4d5e78 100755
--- a/templates/clear/policy/route/node.def
+++ b/templates/clear/policy/route/node.def
@@ -1 +1 @@
-help: Clear policy statistics for chain
+help: Clear policy statistics for a given policy route
diff --git a/templates/clear/policy/route/node.tag/counters/node.def b/templates/clear/policy/route/node.tag/counters/node.def
index e47bcdc..ec36a2d 100644
--- a/templates/clear/policy/route/node.tag/counters/node.def
+++ b/templates/clear/policy/route/node.tag/counters/node.def
@@ -1,2 +1,2 @@
-help: Clear firewall counters
+help: Clear policy counters
run: /opt/vyatta/bin/vyatta-clear-firewall "/sbin/iptables" "mangle" "$4"
diff --git a/templates/clear/policy/route/node.tag/node.def b/templates/clear/policy/route/node.tag/node.def
index e54b196..55d2657 100755
--- a/templates/clear/policy/route/node.tag/node.def
+++ b/templates/clear/policy/route/node.tag/node.def
@@ -1,4 +1,4 @@
-help: Clear policy rules for a given chain
+help: Clear policy rules for a given policy route
allowed: local -a vals
eval "vals=($(cli-shell-api listActiveNodes policy route))"
echo -n ${vals[@]}