fix(firewall): parse "all" protocol from iptables chains

This commit is contained in:
Quentin McGaw
2025-11-03 16:06:21 +00:00
parent 35e9b2365d
commit 2e2e5f9df5
2 changed files with 13 additions and 1 deletions

View File

@@ -323,7 +323,7 @@ var ErrProtocolUnknown = errors.New("unknown protocol")
func parseProtocol(s string) (protocol string, err error) {
switch s {
case "0":
case "0", "all":
case "1":
protocol = "icmp"
case "6":