aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/map/map_api.c2
1 files changed, 1 insertions, 1 deletions
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);
}