Skip to content

Commit

Permalink
use sai_stat_id_t for new SAI header file (sonic-net#769)
Browse files Browse the repository at this point in the history
Signed-off-by: Guohan Lu <gulv@microsoft.com>
  • Loading branch information
lguohan authored and prsunny committed Jan 24, 2019
1 parent dee34bc commit e84a6ab
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 @@ -359,13 +359,13 @@ bool PfcWdLossyHandler::getHwCounters(PfcWdHwStats& counters)
{
SWSS_LOG_ENTER();

static const vector<sai_queue_stat_t> queueStatIds =
static const vector<sai_stat_id_t> queueStatIds =
{
SAI_QUEUE_STAT_PACKETS,
SAI_QUEUE_STAT_DROPPED_PACKETS,
};

static const vector<sai_ingress_priority_group_stat_t> pgStatIds =
static const vector<sai_stat_id_t> pgStatIds =
{
SAI_INGRESS_PRIORITY_GROUP_STAT_PACKETS,
SAI_INGRESS_PRIORITY_GROUP_STAT_DROPPED_PACKETS,
Expand Down

0 comments on commit e84a6ab

Please sign in to comment.