diff options
Diffstat (limited to 'src/vnet/lisp-cp/control.c')
-rw-r--r-- | src/vnet/lisp-cp/control.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/vnet/lisp-cp/control.c b/src/vnet/lisp-cp/control.c index 1ab39733e59..6408b297e3b 100644 --- a/src/vnet/lisp-cp/control.c +++ b/src/vnet/lisp-cp/control.c @@ -1515,6 +1515,10 @@ update_fwd_entries_by_locator_set (lisp_cp_main_t * lcm, u8 is_local, { u32 i, *map_indexp; u32 **eid_indexes; + + if (vec_len (lcm->locator_set_to_eids) <= ls_index) + return; + eid_indexes = vec_elt_at_index (lcm->locator_set_to_eids, ls_index); for (i = 0; i < vec_len (eid_indexes[0]); i++) |