From 6c2d6fa3028259dc82cd41c586da33df9d35f568 Mon Sep 17 00:00:00 2001 From: Juan Font Date: Mon, 5 Dec 2022 19:12:33 +0000 Subject: [PATCH] Do not explicitly set the protocols when ommited in ACL --- acls.go | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/acls.go b/acls.go index 71395791..6d31066c 100644 --- a/acls.go +++ b/acls.go @@ -386,12 +386,7 @@ func generateACLPolicyDest( func parseProtocol(protocol string) ([]int, bool, error) { switch protocol { case "": - return []int{ - protocolICMP, - protocolIPv6ICMP, - protocolTCP, - protocolUDP, - }, false, nil + return nil, false, nil case "igmp": return []int{protocolIGMP}, true, nil case "ipv4", "ip-in-ip":