Skip to content

Commit

Permalink
[COPP]If copp group is configured using cfgdb, duplicate trapids will…
Browse files Browse the repository at this point in the history
… appear in appdb.

Signed-off-by: qiuyupeng <qiuyupeng@git.asterfusion.com>
  • Loading branch information
qiuyupeng committed Nov 10, 2022
1 parent e557855 commit d160c97
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions cfgmgr/coppmgr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -654,9 +654,6 @@ void CoppMgr::doCoppTrapTask(Consumer &consumer)
m_coppTrapConfMap[key].trap_ids);
}

m_coppTrapConfMap[key].trap_group = trap_group;
m_coppTrapConfMap[key].trap_ids = trap_ids;
m_coppTrapConfMap[key].is_always_enabled = is_always_enabled;
addTrap(trap_ids, trap_group);

/* When the trap table's trap group is changed, the old trap group
Expand Down

0 comments on commit d160c97

Please sign in to comment.