summaryrefslogtreecommitdiff
path: root/cesar/cp/sta/action/src/bridge.c
diff options
context:
space:
mode:
Diffstat (limited to 'cesar/cp/sta/action/src/bridge.c')
-rw-r--r--cesar/cp/sta/action/src/bridge.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/cesar/cp/sta/action/src/bridge.c b/cesar/cp/sta/action/src/bridge.c
index cef13c4d29..2d27454ee3 100644
--- a/cesar/cp/sta/action/src/bridge.c
+++ b/cesar/cp/sta/action/src/bridge.c
@@ -99,6 +99,10 @@ cp_sta_action_process_cm_brg_info_cnf (cp_t *ctx, cp_mme_rx_t *mme)
cl_mactotei_blk_t *new_table = cl_mactotei_new ();
/* Copy entries except the old ones. */
cl_mactotei_copy_except_tag (ctx->cl, new_table, mme->peer.tei);
+ /* Copy also the multicast group if exist */
+ cl_mactotei_copy_tei_and_tag (ctx->cl, new_table, MAC_TEI_BCAST,
+ mme->peer.tei);
+
/* Add new entries. */
uint count;
mac_t bda;
@@ -127,6 +131,7 @@ cp_sta_action_process_cm_brg_info_cnf (cp_t *ctx, cp_mme_rx_t *mme)
{
/* Use new MAC to TEI table. */
cl_mactotei_use_table (ctx->cl, new_table);
+ cl_update_igmp_groups (ctx->cl);
}
}
/* End MME decoding if there are no error. */