From 10fd425cd244e6a7e08651bf7192eec1a2dcab76 Mon Sep 17 00:00:00 2001 From: Damjan Marion Date: Thu, 8 Dec 2016 09:47:45 +0100 Subject: l2fwd: fix isssue with setting mac age from api Change-Id: Ib08b87ac91f78bebb539f544850b07dbf76f31f6 Signed-off-by: Damjan Marion --- vpp/vpp-api/api.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vpp/vpp-api/api.c b/vpp/vpp-api/api.c index a5ac060a..3868af9c 100644 --- a/vpp/vpp-api/api.c +++ b/vpp/vpp-api/api.c @@ -982,7 +982,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); + bd_set_mac_age (vm, bd_index, mp->mac_age); } else rv = bd_delete_bd_index (bdm, bd_id); -- cgit 1.2.3-korg