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)
This commit is contained in:
Onong Tayeng 2020-09-15 13:55:29 +05:30 committed by Andrew Yourtchenko
parent 2ee0098dee
commit d5f713ce60

View File

@ -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;