Skip to content

Commit

Permalink
Remove counters for Mux ACL (#2643)
Browse files Browse the repository at this point in the history
  • Loading branch information
devpatha authored and StormLiangMS committed Apr 13, 2023
1 parent b6d8f13 commit 942cd0f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions orchagent/muxorch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -785,7 +785,7 @@ MuxAclHandler::MuxAclHandler(sai_object_id_t port, string alias)
// First time handling of Mux Table, create ACL table, and bind
createMuxAclTable(port, table_name);
shared_ptr<AclRulePacket> newRule =
make_shared<AclRulePacket>(gAclOrch, rule_name, table_name);
make_shared<AclRulePacket>(gAclOrch, rule_name, table_name, false /*no counters*/);
createMuxAclRule(newRule, table_name);
}
else
Expand All @@ -796,7 +796,7 @@ MuxAclHandler::MuxAclHandler(sai_object_id_t port, string alias)
if (rule == nullptr)
{
shared_ptr<AclRulePacket> newRule =
make_shared<AclRulePacket>(gAclOrch, rule_name, table_name);
make_shared<AclRulePacket>(gAclOrch, rule_name, table_name, false /*no counters*/);
createMuxAclRule(newRule, table_name);
}
else
Expand Down

0 comments on commit 942cd0f

Please sign in to comment.