summaryrefslogtreecommitdiff
path: root/templates-op/clear/nat/counters/node.def
diff options
context:
space:
mode:
authorMohit Mehta <mohit.mehta@vyatta.com>2010-02-02 16:39:50 -0800
committerMohit Mehta <mohit.mehta@vyatta.com>2010-02-02 16:39:50 -0800
commitf2cfa4bbdf4f68f0e4c527da1b2188160792c870 (patch)
tree062b8deadd2a829210eaf53f7856f34386df926b /templates-op/clear/nat/counters/node.def
parentad8c4bbebef0fb038d2a7ac68077a122ad994d68 (diff)
downloadvyatta-nat-f2cfa4bbdf4f68f0e4c527da1b2188160792c870.tar.gz
vyatta-nat-f2cfa4bbdf4f68f0e4c527da1b2188160792c870.zip
partial fix for bug 4115 'clear nat translations' does not clear nat translations
* added op-mode commands to clear counters for NAT rules clear nat counters # clear counters for all NAT rules clear nat counters rule <rule-num> # clear counters for a specific NAT rule
Diffstat (limited to 'templates-op/clear/nat/counters/node.def')
-rw-r--r--templates-op/clear/nat/counters/node.def2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates-op/clear/nat/counters/node.def b/templates-op/clear/nat/counters/node.def
index acd6adb..3327eda 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 /sbin/iptables -Z -t nat
+run: /opt/vyatta/sbin/vyatta-clear-nat-counters.pl --clirule=all