Skip to content

Commit 7ca39ed

Browse files
angelazhang8Bara Kopi
and
Bara Kopi
authored
Print the multicast group id along with the number of packets replicated. (#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]>
1 parent 005c6cf commit 7ca39ed

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/bm_sim/simple_pre.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,8 @@ McSimplePre::replicate(const McSimplePre::McIn ingress_info) const {
290290
}
291291
}
292292
}
293-
BMLOG_DEBUG("number of packets replicated : {}", egress_info_list.size());
293+
BMLOG_DEBUG("number of packets replicated : {} for multicast group id: {}",
294+
egress_info_list.size(), ingress_info.mgid);
294295
return egress_info_list;
295296
}
296297

0 commit comments

Comments
 (0)