From af1bb47f0f22f91799a8c69be38c7dc423299b3f Mon Sep 17 00:00:00 2001 From: Danny Allen Date: Thu, 10 Dec 2020 13:08:47 -0800 Subject: [PATCH] [acl_loader] Fix default DENY rule for V6 dataplane ACLs (#1281) Signed-off-by: Danny Allen --- acl_loader/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/acl_loader/main.py b/acl_loader/main.py index cbaea686e82c..4af41023f187 100644 --- a/acl_loader/main.py +++ b/acl_loader/main.py @@ -539,7 +539,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