LISP: Do not show P-ITR generated mapping
[vpp.git] / src / vnet / lisp-cp / one_api.c
index ab9e7a6..2892409 100644 (file)
@@ -772,6 +772,9 @@ send_one_eid_table_details (mapping_t * mapit,
   u8 *mac = 0;
   ip_prefix_t *ip_prefix = NULL;
 
+  if (mapit->pitr_set)
+    return;
+
   switch (filter)
     {
     case 0:                    /* all mappings */