VPP crash when run "lb set interface nat4 in <intc>" VPP-1343

Change-Id: I23be9c29227e7dd1bb11b5b7fa910bb61c2be6c9
Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
This commit is contained in:
Hongjun Ni
2018-07-18 00:17:44 +08:00
parent e400a6d1a5
commit b4b2488202

View File

@ -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;