diff options
author | Filip Tehlar <ftehlar@cisco.com> | 2017-02-20 17:31:57 +0100 |
---|---|---|
committer | Filip Tehlar <ftehlar@cisco.com> | 2017-02-20 17:31:57 +0100 |
commit | 38206ee73d51cef6ef8c00a9947322eea9940f83 (patch) | |
tree | 1a32018006161f6e8824acef049a8fdaed7ba27f /src/vnet/lisp-cp/lisp_api.c | |
parent | 6ca42d333b247eaee4995a7f779a43759a81909e (diff) |
LISP: don't show PITR generated mapping in dump call
Change-Id: Iecba818ccf74a4d34e35d498e6f6a1d3c62419f4
Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
Diffstat (limited to 'src/vnet/lisp-cp/lisp_api.c')
-rw-r--r-- | src/vnet/lisp-cp/lisp_api.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/vnet/lisp-cp/lisp_api.c b/src/vnet/lisp-cp/lisp_api.c index 78d32e17aa6..b2b31f09738 100644 --- a/src/vnet/lisp-cp/lisp_api.c +++ b/src/vnet/lisp-cp/lisp_api.c @@ -752,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); |