aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2016-12-08 09:47:45 +0100
committerNeale Ranns <nranns@cisco.com>2016-12-08 09:57:29 +0000
commit10fd425cd244e6a7e08651bf7192eec1a2dcab76 (patch)
treecc6379ce83829ed84efd89426820563d55ec325a
parent14ac8010ef9f5e401263dbb60e90b8c71d871c52 (diff)
l2fwd: fix isssue with setting mac age from api
Change-Id: Ib08b87ac91f78bebb539f544850b07dbf76f31f6 Signed-off-by: Damjan Marion <damarion@cisco.com>
-rw-r--r--vpp/vpp-api/api.c2
1 files changed, 1 insertions, 1 deletions
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);