Skip to content

Commit

Permalink
[aclorch]: Remove error message when match not found (sonic-net#618)
Browse files Browse the repository at this point in the history
Fail to find a match criteria is a completely valid flow (orchagent/aclorch.cpp:L2076-L2093)
This caused ACL test failure in loganalysis phase.

Signed-off-by: Stepan Blyschak <stepanb@mellanox.com>
  • Loading branch information
stepanblyschak authored and Shuotian Cheng committed Sep 17, 2018
1 parent 07f4cd8 commit e765c12
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions orchagent/aclorch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,6 @@ bool AclRule::validateAddMatch(string attr_name, string attr_value)
{
if (aclMatchLookup.find(attr_name) == aclMatchLookup.end())
{
SWSS_LOG_ERROR("Failed to locate match criterion %s",
attr_name.c_str());
return false;
}
else if (attr_name == MATCH_IN_PORTS)
Expand Down

0 comments on commit e765c12

Please sign in to comment.