Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
14ac801
)
l2fwd: fix isssue with setting mac age from api
63/4163/2
author
Damjan Marion
<
[email protected]
>
Thu, 8 Dec 2016 08:47:45 +0000
(09:47 +0100)
committer
Neale Ranns
<
[email protected]
>
Thu, 8 Dec 2016 09:57:29 +0000
(09:57 +0000)
Change-Id: Ib08b87ac91f78bebb539f544850b07dbf76f31f6
Signed-off-by: Damjan Marion <
[email protected]
>
vpp/vpp-api/api.c
patch
|
blob
|
history
diff --git
a/vpp/vpp-api/api.c
b/vpp/vpp-api/api.c
index
a5ac060
..
3868af9
100644
(file)
--- 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);