Fix lisp map-notify parsing 11/7011/2
authorFlorin Coras <fcoras@cisco.com>
Mon, 5 Jun 2017 22:38:50 +0000 (15:38 -0700)
committerDave Wallace <dwallacelf@gmail.com>
Tue, 6 Jun 2017 01:10:38 +0000 (01:10 +0000)
Change-Id: Ib22ffee3d8ac63af171d032c2ffcb44a2e42400c
Signed-off-by: Florin Coras <fcoras@cisco.com>
src/vnet/lisp-cp/control.c

index cea9255..19bbd61 100644 (file)
@@ -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)
        {