Skip to content

Commit

Permalink
[acl_loader] Fix default DENY rule for V6 dataplane ACLs (#1281)
Browse files Browse the repository at this point in the history
Signed-off-by: Danny Allen <daall@microsoft.com>
  • Loading branch information
daall authored and abdosi committed Feb 12, 2021
1 parent 25e64ce commit 9b0680c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion acl_loader/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -533,7 +533,7 @@ def deny_rule(self, table_name):
rule_props["PRIORITY"] = str(self.min_priority)
rule_props["PACKET_ACTION"] = "DROP"
if 'v6' in table_name.lower():
rule_props["ETHER_TYPE"] = str(self.ethertype_map["ETHERTYPE_IPV6"])
rule_props["IP_TYPE"] = "IPV6ANY" # ETHERTYPE is not supported for DATAACLV6
else:
rule_props["ETHER_TYPE"] = str(self.ethertype_map["ETHERTYPE_IPV4"])
return rule_data
Expand Down

0 comments on commit 9b0680c

Please sign in to comment.