github
ipmasq: fix nftables backend Rename SetupIPMasqForNetwork -> SetupIPMasqForNetworks TeardownIPMasqForNetwork -> TeardownIPMasqForNetworks and have them take []*net.IPNet instead of *net.IPNet. This allow the nftables backend to cleanup stale rules and recreate all needed rules in a single transaction, where previously the stale rules cleanup was breaking all but the last IPNet. Fixes 61d078645 Signed-off-by: Etienne Champetier <e.champetier@ateme.com>
28 of 60 new or added lines in 5 files covered. (46.67%)
4833 of 9126 relevant lines covered (52.96%)
26.41 hits per line