Skip to content

Commit af1bb47

Browse files
authored
[acl_loader] Fix default DENY rule for V6 dataplane ACLs (#1281)
Signed-off-by: Danny Allen <[email protected]>
1 parent 57a0b41 commit af1bb47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

acl_loader/main.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -539,7 +539,7 @@ def deny_rule(self, table_name):
539539
rule_props["PRIORITY"] = str(self.min_priority)
540540
rule_props["PACKET_ACTION"] = "DROP"
541541
if 'v6' in table_name.lower():
542-
rule_props["ETHER_TYPE"] = str(self.ethertype_map["ETHERTYPE_IPV6"])
542+
rule_props["IP_TYPE"] = "IPV6ANY" # ETHERTYPE is not supported for DATAACLV6
543543
else:
544544
rule_props["ETHER_TYPE"] = str(self.ethertype_map["ETHERTYPE_IPV4"])
545545
return rule_data

0 commit comments

Comments
 (0)