Use fw3_ipt_rule_replace() when setting up reflection
authorJo-Philipp Wich <jow@openwrt.org>
Thu, 10 Oct 2013 19:59:08 +0000 (19:59 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Thu, 10 Oct 2013 19:59:08 +0000 (19:59 +0000)
commitfca5e39564e488b169c8c535dcf658649f81429e
tree938fccb9cce5d580328b5b918ed2149daf64ff42
parent111a3264af479d96edb4283cf397a6ba283ba19b
Use fw3_ipt_rule_replace() when setting up reflection

This avoids duplicate rules in the final ruleset when the target zone
contains multiple interfaces.
redirects.c