summaryrefslogtreecommitdiffstats
path: root/src/vnet/lisp-cp/one_api.c
diff options
context:
space:
mode:
authorOnong Tayeng <otayeng@cisco.com>2020-09-15 13:55:29 +0530
committerFlorin Coras <florin.coras@gmail.com>2020-09-15 14:40:57 +0000
commit2237cc8ce1e0eb7222a34bb30bdeb2f3f1df9a81 (patch)
treefd5dfc2344858ea7d77e4b50f612d43b14558d18 /src/vnet/lisp-cp/one_api.c
parent69f77a3a3cca70876bd27c84b5ae932ca942d8de (diff)
lisp: fix lisp|one_eid_table_dump's local|remote options in vat
The local|remote options to vat's lisp|one_eid_table_dump api command does not print the eid details instead it produces the following error messages: Filter error, unknown filter: 1 Filter error, unknown filter: 2 Type: fix Signed-off-by: Onong Tayeng <otayeng@cisco.com> Change-Id: I000c290b400dbf39bd883d57115923167092c9bd
Diffstat (limited to 'src/vnet/lisp-cp/one_api.c')
-rw-r--r--src/vnet/lisp-cp/one_api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/lisp-cp/one_api.c b/src/vnet/lisp-cp/one_api.c
index f7a972be7a2..452a756ee80 100644
--- a/src/vnet/lisp-cp/one_api.c
+++ b/src/vnet/lisp-cp/one_api.c
@@ -840,7 +840,7 @@ send_one_eid_table_details (mapping_t * mapit,
if (mapit->pitr_set || mapit->nsh_set)
return;
- switch (ntohl (filter))
+ switch (filter)
{
case ONE_FILTER_API_ALL: /* all mappings */
break;