aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorOnong Tayeng <otayeng@cisco.com>2020-09-15 13:55:29 +0530
committerAndrew Yourtchenko <ayourtch@gmail.com>2020-09-16 10:32:29 +0000
commitd5f713ce60b2ccc4838ed07fa83ad061e159af94 (patch)
tree74b014568426a85d092a065d6ee85884313eaebe /src
parent2ee0098dee4e4130ae350ccfe526d88a826160c5 (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 (cherry picked from commit 2237cc8ce1e0eb7222a34bb30bdeb2f3f1df9a81)
Diffstat (limited to 'src')
-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;