iptables: remove usage of xt_id
authorJo-Philipp Wich <jo@mein.io>
Sun, 6 Nov 2016 16:18:36 +0000 (17:18 +0100)
committerJo-Philipp Wich <jo@mein.io>
Sun, 6 Nov 2016 19:21:05 +0000 (20:21 +0100)
commit786b15ff1460e8611eaa35ec024efe08fd3a5ebe
tree138726b07d49143b3321570144963018f98dbe95
parentc520966c2a92a14c931f411d502ed1a8dedf604d
iptables: remove usage of xt_id

Instead of relying on the nonstandard xt_id match, use the xt_comment match
to tag own rules. Any rule with a comment starting with "!fw3" is considered
to be firewall3 internal.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
iptables.c
iptables.h