Etienne Champetier 6de8a9853c 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 61d078645a6d2a2391a1555ecda3d0a080a45831

Signed-off-by: Etienne Champetier <e.champetier@ateme.com>
2024-11-21 20:23:25 +01:00
..
2017-11-10 08:09:29 -08:00
2023-02-13 21:15:18 +02:00
2023-03-01 06:55:40 +00:00
2023-03-13 22:27:21 +00:00
2023-03-13 17:59:41 +01:00
2024-11-21 20:23:25 +01:00