Skip to content

Commit

Permalink
Remove counters for Mux ACL (sonic-net#2643)
Browse files Browse the repository at this point in the history
  • Loading branch information
devpatha authored Mar 31, 2023
1 parent 57167c0 commit 9d00e40
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 @@ -812,7 +812,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 @@ -823,7 +823,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 9d00e40

Please sign in to comment.