mirror of
https://github.com/rancher/plugins.git
synced 2025-08-01 07:16:14 +00:00
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
|
||
---|---|---|
.. | ||
errors | ||
hns | ||
ip | ||
ipam | ||
link | ||
ns | ||
testutils | ||
utils |