diff options
-rw-r--r-- | src/vnet/l2/l2_api.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vnet/l2/l2_api.c b/src/vnet/l2/l2_api.c index 9e3a47f772b..25f38a6d5b0 100644 --- a/src/vnet/l2/l2_api.c +++ b/src/vnet/l2/l2_api.c @@ -558,6 +558,7 @@ vl_api_bridge_flags_t_handler (vl_api_bridge_flags_t * mp) vlib_main_t *vm = vlib_get_main (); bd_main_t *bdm = &bd_main; vl_api_bridge_flags_reply_t *rmp; + u32 bitmap = 0; int rv = 0; bd_flags_t flags = bd_flags_decode (mp->flags); @@ -575,7 +576,7 @@ vl_api_bridge_flags_t_handler (vl_api_bridge_flags_t * mp) goto out; } - u32 bitmap = bd_set_flags (vm, bd_index, flags, mp->is_set); + bitmap = bd_set_flags (vm, bd_index, flags, mp->is_set); out: /* *INDENT-OFF* */ |