From 232ed74940d82e4e8363229bf524c7d91c680e01 Mon Sep 17 00:00:00 2001 From: jochen Date: Tue, 22 Sep 2026 19:52:40 +0200 Subject: [PATCH] gofmt the ufw rule's direction field --- internal/firewall/firewall.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/internal/firewall/firewall.go b/internal/firewall/firewall.go index fbf98be..8851659 100644 --- a/internal/firewall/firewall.go +++ b/internal/firewall/firewall.go @@ -477,12 +477,12 @@ func words(rule string) []string { // operator's rule now carries the mesh's mark — so removing the opening later would delete the // operator's rule. The same holds for an incoming rule and for one with a comment of its own. type ufwRule struct { - route bool - action, in, out string + route bool + action, in, out string // dir is which way the rule matches: "" (ufw's default, incoming and forwarded), "in" or // "out". A rule on the outgoing path admits nothing that arrives. - dir string - log string + dir string + log string from, fromPort, to string port, proto, app string comment string