Displaying 1 result from an estimated 1 matches for "test_cnt".
Did you mean:
test_cat
2024 Apr 29
3
[Bug 1751] New: ip6tables-restore doesn't restore counters
...iptables-restore
Assignee: netfilter-buglog at lists.netfilter.org
Reporter: anton.khazan at gmail.com
Created attachment 742
--> https://bugzilla.netfilter.org/attachment.cgi?id=742&action=edit
shell script demonstrating the bug
To reproduce the issue:
ip6tables -X TEST_CNT 2>/dev/null
cat <<EOF | ip6tables-restore -c -n
*filter
:TEST_CNT - [0:0]
[1024:1024] -A TEST_CNT -m comment --comment test_cnt -j ACCEPT
COMMIT
EOF
# end of script
Expected output:
[1024:1024] -A TEST_CNT -m comment --comment test_cnt -j ACCEPT
Actual output:
[0:0] -A TEST_CNT -m commen...