Compare commits

...

1 Commits

Author SHA1 Message Date
Juan Font
422d124c7e Do not explicitly set the protocols when ommited in ACL 2022-12-05 19:12:33 +00:00

View File

@@ -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":