Unify allow/block naming in messages

This commit is contained in:
Daniel
2021-03-29 17:36:13 +02:00
parent 986e868c27
commit 4b2db03957
5 changed files with 15 additions and 15 deletions

View File

@@ -23,7 +23,7 @@ type reason struct {
func (r *reason) String() string {
prefix := "denied by rule: "
if r.Permitted {
prefix = "permitted by rule: "
prefix = "allowed by rule: "
}
return prefix + r.description + " " + r.Value