summaryrefslogtreecommitdiffstats
path: root/extensions/libxt_nfacct.t
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/libxt_nfacct.t')
-rw-r--r--extensions/libxt_nfacct.t10
1 files changed, 10 insertions, 0 deletions
diff --git a/extensions/libxt_nfacct.t b/extensions/libxt_nfacct.t
new file mode 100644
index 00000000..3419b4ce
--- /dev/null
+++ b/extensions/libxt_nfacct.t
@@ -0,0 +1,10 @@
+:INPUT,FORWARD,OUTPUT
+@nfacct add test
+#
+# extra space in iptables-save output, fix it
+#
+# ERROR: cannot load: iptables -A INPUT -m nfacct --nfacct-name test
+#-m nfacct --nfacct-name test;=;OK
+-m nfacct --nfacct-name wrong;;FAIL
+-m nfacct;;FAIL
+@nfacct del test