gofmt the ufw rule's direction field

This commit is contained in:
2026-09-22 19:52:40 +02:00
parent 40e8ea9fda
commit 232ed74940
+4 -4
View File
@@ -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