Change-Id: I1aa25ef11dc75002cb9b6aac0981af00026e57ce
Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
u8 *mac = 0;
ip_prefix_t *ip_prefix = NULL;
u8 *mac = 0;
ip_prefix_t *ip_prefix = NULL;
+ if (mapit->pitr_set)
+ return;
+
switch (filter)
{
case 0: /* all mappings */
switch (filter)
{
case 0: /* all mappings */
/* *INDENT-OFF* */
pool_foreach (mapit, lcm->mapping_pool,
({
/* *INDENT-OFF* */
pool_foreach (mapit, lcm->mapping_pool,
({
+ if (mapit->pitr_set)
+ continue;
+
locator_set_t * ls = pool_elt_at_index (lcm->locator_set_pool,
mapit->locator_set_index);
if (filter && !((1 == filter && ls->local) ||
locator_set_t * ls = pool_elt_at_index (lcm->locator_set_pool,
mapit->locator_set_index);
if (filter && !((1 == filter && ls->local) ||