From 6ec950bfd29c41947a1e840184f26ad8bc729657 Mon Sep 17 00:00:00 2001 From: Rain Seven <128443127+RAiNY7Study@users.noreply.github.com> Date: Mon, 17 Aug 2026 00:14:42 +0800 Subject: [PATCH] style: gofmt IMS security policies (#44) --- internal/vowifi/ims/security.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/internal/vowifi/ims/security.go b/internal/vowifi/ims/security.go index 5765585..9155fb6 100644 --- a/internal/vowifi/ims/security.go +++ b/internal/vowifi/ims/security.go @@ -534,7 +534,7 @@ func buildXFRMInstallPlan(config IPSecSAConfig) ([]xfrmOperation, error) { for _, protocol := range flow.protocols { operations = append(operations, xfrmOperation{ description: flow.description + " " + protocol + " policy", - arguments: xfrmPolicyArgs(flow, protocol, false), + arguments: xfrmPolicyArgs(flow, protocol, false), }) } } @@ -550,7 +550,7 @@ func buildXFRMCleanupPlan(config IPSecSAConfig) []xfrmOperation { protocol := flow.protocols[protocolIndex] operations = append(operations, xfrmOperation{ description: "delete " + flow.description + " " + protocol + " policy", - arguments: xfrmPolicyArgs(flow, protocol, true), + arguments: xfrmPolicyArgs(flow, protocol, true), }) } } @@ -579,7 +579,6 @@ func buildXFRMCleanupPlan(config IPSecSAConfig) []xfrmOperation { return operations } - func xfrmPolicyArgs(flow xfrmFlow, protocol string, delete bool) []string { args := []string{ flow.family,