From 9e865352a933155f192e39edc86031c2dd403209 Mon Sep 17 00:00:00 2001 From: Aaron U'Ren Date: Thu, 21 Sep 2023 13:03:17 -0500 Subject: [PATCH] fix(service_endpoints_sync.go): use save command --- pkg/controllers/proxy/service_endpoints_sync.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/controllers/proxy/service_endpoints_sync.go b/pkg/controllers/proxy/service_endpoints_sync.go index 23f15c580f..14617f3d64 100644 --- a/pkg/controllers/proxy/service_endpoints_sync.go +++ b/pkg/controllers/proxy/service_endpoints_sync.go @@ -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