Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
LISP: don't show PITR generated mapping in dump call
[vpp.git]
/
src
/
vnet
/
lisp-cp
/
lisp_api.c
diff --git
a/src/vnet/lisp-cp/lisp_api.c
b/src/vnet/lisp-cp/lisp_api.c
index
a877540
..
b2b31f0
100644
(file)
--- a/
src/vnet/lisp-cp/lisp_api.c
+++ b/
src/vnet/lisp-cp/lisp_api.c
@@
-714,6
+714,8
@@
fid_type_to_api_type (fid_address_t * fid)
case FID_ADDR_MAC:
return 2;
+ case FID_ADDR_NSH:
+ return 3;
}
return ~0;
@@
-750,6
+752,10
@@
send_lisp_eid_table_details (mapping_t * mapit,
return;
}
+ /* don't send PITR generated mapping */
+ if (mapit->pitr_set)
+ return;
+
gid = &mapit->eid;
ip_prefix = &gid_address_ippref (gid);
mac = gid_address_mac (gid);