diff options
author | Filip Tehlar <ftehlar@cisco.com> | 2016-07-07 09:58:08 +0200 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2016-07-07 15:18:26 +0000 |
commit | b93222f7e49560917a3744e2b01d6ef14fa5174d (patch) | |
tree | 7b7dec98eb7bc485682425b569380fd6a35c49c2 /vnet | |
parent | 3a94475e29f6b6efb7e6af30d5f171c6d3799b3d (diff) |
Fix deletion forwarding entries when deleting static remote mapping
Change-Id: I11207a0452cbccfb959ff426faefda4820463007
Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
Diffstat (limited to 'vnet')
-rw-r--r-- | vnet/vnet/lisp-cp/control.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/vnet/vnet/lisp-cp/control.c b/vnet/vnet/lisp-cp/control.c index 53e8a75b4d6..f536560eae9 100644 --- a/vnet/vnet/lisp-cp/control.c +++ b/vnet/vnet/lisp-cp/control.c @@ -791,6 +791,9 @@ vnet_lisp_add_del_mapping (gid_address_t * deid, locator_t * rlocs, u8 action, ls_args->index = old_map->locator_set_index; /* delete locator set */ vnet_lisp_add_del_locator_set (ls_args, 0); + + /* return old mapping index */ + res_map_index[0] = mi; } /* success */ |