summaryrefslogtreecommitdiff
path: root/templates-op
diff options
context:
space:
mode:
authorAn-Cheng Huang <ancheng@vyatta.com>2008-02-22 15:47:34 -0800
committerAn-Cheng Huang <ancheng@vyatta.com>2008-02-22 15:47:34 -0800
commitc9294916b253c0a940fa5206d116c58c6556a817 (patch)
tree877979a3c16f041a78884c6f74321bbeee76283e /templates-op
parent0d1bc4bc9d33d163a9482e7c6567f3cd94a99507 (diff)
downloadvyatta-nat-c9294916b253c0a940fa5206d116c58c6556a817.tar.gz
vyatta-nat-c9294916b253c0a940fa5206d116c58c6556a817.zip
fix clear commands for operator level
Diffstat (limited to 'templates-op')
-rw-r--r--templates-op/clear/nat/counters/node.def2
-rw-r--r--templates-op/clear/nat/translations/node.def2
2 files changed, 2 insertions, 2 deletions
diff --git a/templates-op/clear/nat/counters/node.def b/templates-op/clear/nat/counters/node.def
index 39a6ed5..a887962 100644
--- a/templates-op/clear/nat/counters/node.def
+++ b/templates-op/clear/nat/counters/node.def
@@ -1,2 +1,2 @@
help: Clear NAT counters
-run: sudo iptables -Z -t nat
+run: sudo ${vyatta_bindir}/sudo-users/iptables -Z -t nat
diff --git a/templates-op/clear/nat/translations/node.def b/templates-op/clear/nat/translations/node.def
index 0727cbd..b096905 100644
--- a/templates-op/clear/nat/translations/node.def
+++ b/templates-op/clear/nat/translations/node.def
@@ -1,2 +1,2 @@
help: Clear NAT translations
-run: sudo ${vyatta_sbindir}/vyatta-update-nat.pl clearnattranslations
+run: sudo ${vyatta_bindir}/sudo-users/vyatta-clear-nat