Use fw3_ipt_rule_replace() when setting up zone interface rules
authorJo-Philipp Wich <jow@openwrt.org>
Thu, 10 Oct 2013 20:36:08 +0000 (20:36 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Thu, 10 Oct 2013 20:36:08 +0000 (20:36 +0000)
commit76976c044de639bb4bf170aa1c7a33fbeca1f1a5
tree54ad6df42279bc46ee6feeea9359ef424ac93903
parentfca5e39564e488b169c8c535dcf658649f81429e
Use fw3_ipt_rule_replace() when setting up zone interface rules

This avoids duplicate rules in the final ruleset when multiple interfaces,
subnets or devices in a zone specification resolve to the same values.
zones.c