Skip to content

Commit

Permalink
Print the multicast group id along with the number of packets replica…
Browse files Browse the repository at this point in the history
…ted. (#1283)

* print mgid with packets replicated

Signed-off-by: Bara Kopi <[email protected]>

* print mg_id

Signed-off-by: Bara Kopi <[email protected]>

---------

Signed-off-by: Bara Kopi <[email protected]>
Co-authored-by: Bara Kopi <[email protected]>
  • Loading branch information
angelazhang8 and Bara Kopi authored Dec 26, 2024
1 parent 005c6cf commit 7ca39ed
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/bm_sim/simple_pre.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,8 @@ McSimplePre::replicate(const McSimplePre::McIn ingress_info) const {
}
}
}
BMLOG_DEBUG("number of packets replicated : {}", egress_info_list.size());
BMLOG_DEBUG("number of packets replicated : {} for multicast group id: {}",
egress_info_list.size(), ingress_info.mgid);
return egress_info_list;
}

Expand Down

0 comments on commit 7ca39ed

Please sign in to comment.