Skip to content

Commit 422d124

Browse files
committed
Do not explicitly set the protocols when ommited in ACL
1 parent 0db16c7 commit 422d124

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

acls.go

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -386,12 +386,7 @@ func generateACLPolicyDest(
386386
func parseProtocol(protocol string) ([]int, bool, error) {
387387
switch protocol {
388388
case "":
389-
return []int{
390-
protocolICMP,
391-
protocolIPv6ICMP,
392-
protocolTCP,
393-
protocolUDP,
394-
}, false, nil
389+
return nil, false, nil
395390
case "igmp":
396391
return []int{protocolIGMP}, true, nil
397392
case "ipv4", "ip-in-ip":

0 commit comments

Comments
 (0)