fix(service_endpoints_sync.go): use save command

This commit is contained in:
Aaron U'Ren 2023-09-21 13:03:17 -05:00 committed by Aaron U'Ren
parent 9abe20d581
commit c92f76aadf

View File

@ -769,10 +769,10 @@ func (nsc *NetworkServicesController) cleanupDSRService(fwMark uint32) error {
}
if nsc.isIPv4Capable {
cleanupTables("iptables")
cleanupTables("iptables-save")
}
if nsc.isIPv6Capable {
cleanupTables("ip6tables")
cleanupTables("ip6tables-save")
}
// cleanup the fwMarkMap to ensure that we don't accidentally build state