gofmt the ufw rule's direction field
This commit is contained in:
@@ -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 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.
|
// operator's rule. The same holds for an incoming rule and for one with a comment of its own.
|
||||||
type ufwRule struct {
|
type ufwRule struct {
|
||||||
route bool
|
route bool
|
||||||
action, in, out string
|
action, in, out string
|
||||||
// dir is which way the rule matches: "" (ufw's default, incoming and forwarded), "in" or
|
// 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.
|
// "out". A rule on the outgoing path admits nothing that arrives.
|
||||||
dir string
|
dir string
|
||||||
log string
|
log string
|
||||||
from, fromPort, to string
|
from, fromPort, to string
|
||||||
port, proto, app string
|
port, proto, app string
|
||||||
comment string
|
comment string
|
||||||
|
|||||||
Reference in New Issue
Block a user