summaryrefslogtreecommitdiff
path: root/cesar/cp/sta/mgr/src/sta_mgr.c
diff options
context:
space:
mode:
Diffstat (limited to 'cesar/cp/sta/mgr/src/sta_mgr.c')
-rw-r--r--cesar/cp/sta/mgr/src/sta_mgr.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/cesar/cp/sta/mgr/src/sta_mgr.c b/cesar/cp/sta/mgr/src/sta_mgr.c
index 241eaea5a2..d25d781a9e 100644
--- a/cesar/cp/sta/mgr/src/sta_mgr.c
+++ b/cesar/cp/sta/mgr/src/sta_mgr.c
@@ -734,7 +734,9 @@ cp_sta_mgr_sta_remove (cp_t *ctx, cp_sta_t * station)
if ((sta->net == ctx->sta_mgr.our_avln)
&& (MAC_TEI_IS_STA (sta->tei)))
+ {
sar_sta_remove (ctx->sar, sta->tei);
+ }
cp_sta_mgr_sta_remove_common (ctx, station);
@@ -866,17 +868,17 @@ cp_sta_mgr_commit_to_dataplane (cp_t *ctx)
// Copy all the bridge table from the previous list.
cl_mactotei_copy_tei_and_tag (ctx->cl, mactotei, sta_private->tei,
sta_private->tei);
- // Copy all the groups list table from the previous list.
- cl_mactotei_copy_tei_and_tag (ctx->cl, mactotei, sta_private->tei,
- MAC_TEI_BCAST);
// Add the current station.
cl_mactotei_addr_add (mactotei, sta_private->mac_address,
sta_private->tei, MAC_TEI_UNASSOCIATED);
-
}
+ // Copy all the groups list table from the previous list.
+ cl_mactotei_copy_tei (ctx->cl, mactotei, MAC_TEI_BCAST);
+
// Request the CL to use the table.
cl_mactotei_use_table (ctx->cl, mactotei);
+ cl_update_igmp_groups (ctx->cl);
}
}