diff options
author | 2016-08-25 19:47:47 -0400 | |
---|---|---|
committer | 2016-08-26 16:20:50 +0200 | |
commit | 35f9daa2673ac4dd0511addc59e0f4637f9fbc5b (patch) | |
tree | 8e0afd612b904dabc76d9a9a772f2663ecc5b816 | |
parent | e3552c45f38d1f101cf512c9046647201d6c121b (diff) |
VPP-357 Fix vni for LISP fwd entry removals
Change-Id: I5d20c1939f7a5a142bf696b34143f7ebca6afbcb
Signed-off-by: Florin Coras <fcoras@cisco.com>
-rw-r--r-- | vnet/vnet/lisp-cp/control.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vnet/vnet/lisp-cp/control.c b/vnet/vnet/lisp-cp/control.c index 9941af3b..8c695e92 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); |