From cbee13a13a0ba57835badf9ed7a816313b82ae3e Mon Sep 17 00:00:00 2001 From: Jon Loeliger Date: Thu, 13 Dec 2018 17:48:21 -0600 Subject: [PATCH] MAP: Fix inverted 'is_add'/'is_del' flag in map_pre_resolve() call. Change-Id: I82e95358a4d710f1ddd4c8de584f03798e2b85f1 Signed-off-by: Jon Loeliger --- src/plugins/map/map_api.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/map/map_api.c b/src/plugins/map/map_api.c index b32b7c28961..accf32857a6 100644 --- a/src/plugins/map/map_api.c +++ b/src/plugins/map/map_api.c @@ -337,7 +337,7 @@ static void int rv = 0; map_pre_resolve ((ip4_address_t *) & mp->ip4_nh_address, - (ip6_address_t *) & mp->ip6_nh_address, mp->is_add); + (ip6_address_t *) & mp->ip6_nh_address, !mp->is_add); REPLY_MACRO (VL_API_MAP_PARAM_ADD_DEL_PRE_RESOLVE_REPLY); } -- 2.16.6