From d171d48edc1672564db8bb920586b8ea220df14c Mon Sep 17 00:00:00 2001 From: Damjan Marion Date: Mon, 5 Dec 2016 14:16:38 +0100 Subject: l2fib: add mac aging support Change-Id: Ib617ae0f76320d596cc6c4b384da76c91d701a24 Signed-off-by: Damjan Marion --- vpp/vpp-api/api.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'vpp/vpp-api/api.c') 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; -- cgit 1.2.3-korg