diff options
author | 2016-12-05 14:16:38 +0100 | |
---|---|---|
committer | 2016-12-07 17:42:07 +0000 | |
commit | d171d48edc1672564db8bb920586b8ea220df14c (patch) | |
tree | d9b202cf3f8087ca1d2ec3c604f35fe42e5ba102 /vpp/vpp-api/api.c | |
parent | 38bcb56e99774c209e5f61604a4c22839c097e04 (diff) |
l2fib: add mac aging support
Change-Id: Ib617ae0f76320d596cc6c4b384da76c91d701a24
Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'vpp/vpp-api/api.c')
-rw-r--r-- | vpp/vpp-api/api.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/vpp/vpp-api/api.c b/vpp/vpp-api/api.c index f1cd93a7..b7753092 100644 --- a/vpp/vpp-api/api.c +++ b/vpp/vpp-api/api.c @@ -974,6 +974,7 @@ vl_api_bridge_domain_add_del_t_handler (vl_api_bridge_domain_add_del_t * mp) if (disable_flags) bd_set_flags (vm, bd_index, disable_flags, 0 /* disable */ ); + bd_set_mac_age (vm, mp->mac_age, mp->mac_age); } else rv = bd_delete_bd_index (bdm, bd_id); @@ -1011,6 +1012,7 @@ send_bridge_domain_details (unix_shared_memory_queue_t * q, mp->learn = bd_feature_learn (bd_config); mp->arp_term = bd_feature_arp_term (bd_config); mp->bvi_sw_if_index = ntohl (bd_config->bvi_sw_if_index); + mp->mac_age = bd_config->mac_age; mp->n_sw_ifs = ntohl (n_sw_ifs); mp->context = context; |