iptables: Factor out duplicated update hook code
authorDaniel Wagner <daniel.wagner@bmw-carit.de>
Tue, 12 Mar 2013 17:16:46 +0000 (18:16 +0100)
committerPatrik Flykt <patrik.flykt@linux.intel.com>
Mon, 18 Mar 2013 12:31:26 +0000 (14:31 +0200)
commit2d95249a237dba384561558ad89d432ca24ee201
tree9772470c609493222472c98a3058ac0fdc1f2777
parentedaf6f6182a256a29926b0c016d72cc50f1f0c75
iptables: Factor out duplicated update hook code

After removing one or more rules the builtin hooks need to be updated
accordingly. iptables_flush_chain() and iptables_delete_rule()
share a common code part.
src/iptables.c