X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fplugins%2Fmap%2Ftest.c;h=f3c893a7a31d634657935a88797bf806b9e4dffd;hb=fccd1b2b694146506e0efdeee6c23674550fc5d5;hp=ff10fc929a644dee89a39e71746e03bd814964aa;hpb=381e9a90748bb659f56081123052e3e95501a4b4;p=vpp.git diff --git a/src/plugins/map/test.c b/src/plugins/map/test.c index ff10fc929a6..f3c893a7a31 100644 --- 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) { - 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; }