VPP crash when run "lb set interface nat4 in <intc>"
@@ -359,7 +359,7 @@ lb_set_interface_nat_command_fn (vlib_main_t * vm,
unformat_input_t _line_input, *line_input = &_line_input;
vnet_main_t * vnm = vnet_get_main();
clib_error_t * error = 0;
- u32 * sw_if_index = 0;
+ u32 _sw_if_index, *sw_if_index = &_sw_if_index;
u32 * inside_sw_if_indices = 0;
int is_del = 0;
