commit | 1e8d01f423ad90ce0acf149c41642c87be420966 | [log] [tgz] |
---|---|---|
author | Filip Tehlar <ftehlar@cisco.com> | Thu Mar 30 15:17:01 2017 +0200 |
committer | Florin Coras <florin.coras@gmail.com> | Thu Mar 30 18:55:00 2017 +0000 |
tree | 0399c4d98a13703b59720e0c95ebe1d67a436b72 | |
parent | 20e1f2acd5d05a0a238ab8b8a870273799423e83 [diff] [blame] |
LISP: Do not show P-ITR generated mapping Change-Id: I1aa25ef11dc75002cb9b6aac0981af00026e57ce Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
diff --git a/src/vnet/lisp-cp/one_api.c b/src/vnet/lisp-cp/one_api.c index ab9e7a6..2892409 100644 --- a/src/vnet/lisp-cp/one_api.c +++ b/src/vnet/lisp-cp/one_api.c
@@ -772,6 +772,9 @@ u8 *mac = 0; ip_prefix_t *ip_prefix = NULL; + if (mapit->pitr_set) + return; + switch (filter) { case 0: /* all mappings */