diff options
author | Hongjun Ni <hongjun.ni@intel.com> | 2018-07-18 00:17:44 +0800 |
---|---|---|
committer | Hongjun Ni <hongjun.ni@intel.com> | 2018-07-18 00:17:44 +0800 |
commit | b4b2488202ff4282cc4a7bd779cc33934286c5cd (patch) | |
tree | b80e99b2b397f394fab064ac75fbe691f7aa389f | |
parent | e400a6d1a58e29acf379fb4f3636533ac00a1a24 (diff) |
VPP crash when run "lb set interface nat4 in <intc>" VPP-1343
Change-Id: I23be9c29227e7dd1bb11b5b7fa910bb61c2be6c9
Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
-rw-r--r-- | src/plugins/lb/cli.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/lb/cli.c b/src/plugins/lb/cli.c index 2bd06b98b6a..76f05a586de 100644 --- a/src/plugins/lb/cli.c +++ b/src/plugins/lb/cli.c @@ -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; |