summaryrefslogtreecommitdiffstats
path: root/vpp/app/vpe_cli.c
diff options
context:
space:
mode:
Diffstat (limited to 'vpp/app/vpe_cli.c')
-rw-r--r--vpp/app/vpe_cli.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/vpp/app/vpe_cli.c b/vpp/app/vpe_cli.c
index 32b6d03d..b9f717bd 100644
--- a/vpp/app/vpe_cli.c
+++ b/vpp/app/vpe_cli.c
@@ -67,6 +67,7 @@ virtual_ip_cmd_fn_command_fn (vlib_main_t * vm,
ip_adjacency_t adj;
u32 adj_index;
+ memset(&adj, 0, sizeof(adj));
adj.lookup_next_index = IP_LOOKUP_NEXT_REWRITE;
vnet_rewrite_for_sw_interface