summaryrefslogtreecommitdiffstats
path: root/vnet
diff options
context:
space:
mode:
authorFilip Tehlar <ftehlar@cisco.com>2016-09-02 17:45:56 +0200
committerFilip Tehlar <ftehlar@cisco.com>2016-09-02 17:45:56 +0200
commita7601b44acc8dac4e0a3944027ca5ff10405d8db (patch)
tree5a690301ee0c34210821cdba31bfc3436dd82883 /vnet
parent6214326f41a3c1c4d10c319d5f5fb284fb619ab4 (diff)
VPP-375: Fix LSIP locator set hash table on addition
Change-Id: Iec9e6538d2731ba12ae8338b72fdc3a0bd5f0c69 Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
Diffstat (limited to 'vnet')
-rw-r--r--vnet/vnet/lisp-cp/control.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vnet/vnet/lisp-cp/control.c b/vnet/vnet/lisp-cp/control.c
index aa0046c8f37..c4b0fe1cce4 100644
--- a/vnet/vnet/lisp-cp/control.c
+++ b/vnet/vnet/lisp-cp/control.c
@@ -1710,7 +1710,7 @@ vnet_lisp_add_del_locator (vnet_lisp_add_del_locator_set_args_t * a,
vec_validate (lcm->locator_to_locator_sets, loc_index);
ls_indexes = vec_elt_at_index (lcm->locator_to_locator_sets,
loc_index);
- vec_add1 (ls_indexes[0], ls_index);
+ vec_add1 (ls_indexes[0], p[0]);
}
}
else