From 7c9f01c5cb72dcfb9a142fa2cde4cb1c0191678b Mon Sep 17 00:00:00 2001 From: sihuihan88 Date: Fri, 17 Nov 2017 14:34:36 -0800 Subject: [PATCH] [pfcactionhandler]: match correct value when aclhandler creates ACL rules (#393) Signed-off-by: Sihui Han --- orchagent/pfcactionhandler.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/orchagent/pfcactionhandler.cpp b/orchagent/pfcactionhandler.cpp index d374acf85ac4..2fad869d5408 100644 --- a/orchagent/pfcactionhandler.cpp +++ b/orchagent/pfcactionhandler.cpp @@ -202,11 +202,11 @@ void PfcWdAclHandler::createPfcAclRule(shared_ptr rule, uint8_t queue string attr_name, attr_value; - attr_name = "RULE_PRIORITY"; + attr_name = RULE_PRIORITY; attr_value = "999"; rule->validateAddPriority(attr_name, attr_value); - attr_name = "MATCH_TC"; + attr_name = MATCH_TC; attr_value = to_string(queueId); rule->validateAddMatch(attr_name, attr_value);