From ab4e86cb95f061f9ebb2d01e5ccbc2916eeccab7 Mon Sep 17 00:00:00 2001 From: Florin Coras Date: Thu, 25 Aug 2016 19:47:47 -0400 Subject: VPP-357 Fix vni for LISP fwd entry removals Change-Id: I5d20c1939f7a5a142bf696b34143f7ebca6afbcb Signed-off-by: Florin Coras --- vnet/vnet/lisp-cp/control.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vnet') diff --git a/vnet/vnet/lisp-cp/control.c b/vnet/vnet/lisp-cp/control.c index d7ac3c52d2a..aa0046c8f37 100644 --- a/vnet/vnet/lisp-cp/control.c +++ b/vnet/vnet/lisp-cp/control.c @@ -235,7 +235,7 @@ dp_del_fwd_entry (lisp_cp_main_t * lcm, u32 src_map_index, u32 dst_map_index) u32 sw_if_index; a->is_add = 0; a->locator_pairs = fe->locator_pairs; - a->vni = gid_address_vni (&a->rmt_eid); + a->vni = gid_address_vni (&fe->deid); gid_address_copy (&a->rmt_eid, &fe->deid); vnet_lisp_gpe_add_del_fwd_entry (a, &sw_if_index); -- cgit 1.2.3-korg