summaryrefslogtreecommitdiff
path: root/cesar/cp/sta/mgr
diff options
context:
space:
mode:
authordufour2009-10-16 10:29:11 +0000
committerdufour2009-10-16 10:29:11 +0000
commit1d3328ca1ee80a7fca3bdeca2b14a5ed9cade084 (patch)
treef13e92ae741aa0b7811a6f6bade637a7dff7cde2 /cesar/cp/sta/mgr
parentb50f2e6fe9d4ae035500681be1b3f7dbf8f65a3d (diff)
cesar/{cl,cp}: add support for bridged data learnt from traffic.
To be compatible with some other vendors, we need to support the bridged traffic we learn (and not only the one from the bridge info MME). This commit add a temporary table which will contain the bridge entries we just have learnt. Regularly, the temporary table is committed into the MAC to TEI table. There is no management for expiration of entries. git-svn-id: svn+ssh://pessac/svn/cesar/trunk@6148 017c9cb6-072f-447c-8318-d5b54f68fe89
Diffstat (limited to 'cesar/cp/sta/mgr')
-rw-r--r--cesar/cp/sta/mgr/src/sta_mgr.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/cesar/cp/sta/mgr/src/sta_mgr.c b/cesar/cp/sta/mgr/src/sta_mgr.c
index 824fe5cadf..1274b77832 100644
--- a/cesar/cp/sta/mgr/src/sta_mgr.c
+++ b/cesar/cp/sta/mgr/src/sta_mgr.c
@@ -356,6 +356,9 @@ cp_sta_mgr_garbage (cp_t *ctx)
}
cp_sta_mgr_elects_sta_partial_ack (ctx);
+
+ /* Update MAC to TEI bridge table. */
+ cl_mactotei_bridge_update (ctx->cl, CP_MACTOTEI_TAGS_BRIDGE);
}
cp_sta_own_data_t *