aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/lisp-cp
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2017-06-05 15:38:50 -0700
committerDave Wallace <dwallacelf@gmail.com>2017-06-06 01:10:38 +0000
commite68de8c333609fa45ad29a97a460f656c272a3dc (patch)
tree204a0aa286f5bb3f328c4dd7b729923780993390 /src/vnet/lisp-cp
parent6e8ab16cf38795e8957d0dbb8752c6934e661132 (diff)
Fix lisp map-notify parsing
Change-Id: Ib22ffee3d8ac63af171d032c2ffcb44a2e42400c Signed-off-by: Florin Coras <fcoras@cisco.com>
Diffstat (limited to 'src/vnet/lisp-cp')
-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)
{