From 3eb0a9b2c51fc1da848311fcc46000f4a246395e Mon Sep 17 00:00:00 2001 From: Stepan Blyschak Date: Fri, 19 Jul 2019 16:17:44 +0300 Subject: [PATCH] [aclorch] remove error messages in AclRuleMirror::validateAddMatch Signed-off-by: Stepan Blyschak --- orchagent/aclorch.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/orchagent/aclorch.cpp b/orchagent/aclorch.cpp index fb79a2f157..e8d348b8b2 100644 --- a/orchagent/aclorch.cpp +++ b/orchagent/aclorch.cpp @@ -976,7 +976,6 @@ bool AclRuleMirror::validateAddMatch(string attr_name, string attr_value) if ((m_tableType == ACL_TABLE_L3 || m_tableType == ACL_TABLE_L3V6) && attr_name == MATCH_DSCP) { - SWSS_LOG_ERROR("DSCP match is not supported for the table of type L3"); return false; } @@ -984,8 +983,6 @@ bool AclRuleMirror::validateAddMatch(string attr_name, string attr_value) aclMatchLookup.find(attr_name) != aclMatchLookup.end() && attr_name != MATCH_DSCP)) { - SWSS_LOG_ERROR("%s match is not supported for the table of type MIRROR_DSCP", - attr_name.c_str()); return false; } @@ -1014,8 +1011,6 @@ bool AclRuleMirror::validateAddMatch(string attr_name, string attr_value) (attr_name == MATCH_SRC_IPV6 || attr_name == MATCH_DST_IPV6 || attr_name == MATCH_ICMPV6_TYPE || attr_name == MATCH_ICMPV6_CODE)) { - SWSS_LOG_ERROR("%s match is not supported for the table of type MIRROR", - attr_name.c_str()); return false; } @@ -1024,8 +1019,6 @@ bool AclRuleMirror::validateAddMatch(string attr_name, string attr_value) attr_name == MATCH_ICMP_TYPE || attr_name == MATCH_ICMP_CODE || attr_name == MATCH_ETHER_TYPE)) { - SWSS_LOG_ERROR("%s match is not supported for the table of type MIRRORv6", - attr_name.c_str()); return false; }