Skip to content

Commit

Permalink
[pfcactionhandler]: match correct value when aclhandler creates ACL r…
Browse files Browse the repository at this point in the history
…ules (sonic-net#393)

Signed-off-by: Sihui Han <sihan@microsoft.com>
  • Loading branch information
sihuihan88 authored and Shuotian Cheng committed Nov 17, 2017
1 parent 5bc06f5 commit 7c9f01c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions orchagent/pfcactionhandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -202,11 +202,11 @@ void PfcWdAclHandler::createPfcAclRule(shared_ptr<AclRuleL3> 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);

Expand Down

0 comments on commit 7c9f01c

Please sign in to comment.