Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Revert "Add support for MAP-T CE (VPP-1058)"
[vpp.git]
/
src
/
plugins
/
map
/
test.c
diff --git
a/src/plugins/map/test.c
b/src/plugins/map/test.c
index
ff10fc9
..
f3c893a
100644
(file)
--- a/
src/plugins/map/test.c
+++ b/
src/plugins/map/test.c
@@
-48,8
+48,7
@@
get_domain(ip4_address_t * ip4_prefix, u8 ip4_prefix_len,
/* How many, and which bits to grab from the IPv4 DA */
if (ip4_prefix_len + ea_bits_len < 32)
{
/* How many, and which bits to grab from the IPv4 DA */
if (ip4_prefix_len + ea_bits_len < 32)
{
- if (!(flags & MAP_DOMAIN_TRANSLATION))
- d->flags |= MAP_DOMAIN_PREFIX;
+ d->flags |= MAP_DOMAIN_PREFIX;
d->suffix_shift = 32 - ip4_prefix_len - ea_bits_len;
suffix_len = ea_bits_len;
}
d->suffix_shift = 32 - ip4_prefix_len - ea_bits_len;
suffix_len = ea_bits_len;
}