Fix String method for TypeRoute to return "route" instead of "nat"

This commit is contained in:
2026-01-01 21:28:18 +05:00
parent fa41572019
commit 92803286f5

View File

@@ -25,9 +25,9 @@ func (t Type) String() string {
case TypeFilter:
return "filter"
case TypeNat:
return "inet"
case TypeRoute:
return "nat"
case TypeRoute:
return "route"
default:
return fmt.Sprintf("unknown type %d", t)
}