summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/vnet/lisp-cp/control.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vnet/lisp-cp/control.c b/src/vnet/lisp-cp/control.c
index cea92556284..19bbd618cbc 100644
--- a/src/vnet/lisp-cp/control.c
+++ b/src/vnet/lisp-cp/control.c
@@ -3424,6 +3424,7 @@ parse_map_records (vlib_buffer_t * b, map_records_arg_t * a, u8 count)
/* parse record eid */
for (i = 0; i < count; i++)
{
+ locators = 0;
len = lisp_msg_parse_mapping_record (b, &deid, &locators, NULL);
if (len == ~0)
{