summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/vnet/lisp-cp/control.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vnet/lisp-cp/control.c b/src/vnet/lisp-cp/control.c
index ddaa6f508dc..439802c947c 100644
--- a/src/vnet/lisp-cp/control.c
+++ b/src/vnet/lisp-cp/control.c
@@ -3245,6 +3245,8 @@ parse_map_records (vlib_buffer_t * b, map_records_arg_t * a, u8 count)
mapping_t m;
locator_t *loc;
+ memset (&m, 0, sizeof (m));
+
/* parse record eid */
for (i = 0; i < count; i++)
{