Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
400f6d8
)
MAP: Fix inverted 'is_add'/'is_del' flag in map_pre_resolve() call.
72/16472/1
author
Jon Loeliger
<jdl@netgate.com>
Thu, 13 Dec 2018 23:48:21 +0000
(17:48 -0600)
committer
Jon Loeliger
<jdl@netgate.com>
Thu, 13 Dec 2018 23:48:21 +0000
(17:48 -0600)
Change-Id: I82e95358a4d710f1ddd4c8de584f03798e2b85f1
Signed-off-by: Jon Loeliger <jdl@netgate.com>
src/plugins/map/map_api.c
patch
|
blob
|
history
diff --git
a/src/plugins/map/map_api.c
b/src/plugins/map/map_api.c
index
b32b7c2
..
accf328
100644
(file)
--- 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);
}