lisp: fix lisp|one_eid_table_dump's local|remote options in vat
[vpp.git] / src / vnet / lisp-cp / one_api.c
index 912b9df..452a756 100644 (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;
@@ -1119,7 +1119,7 @@ one_adjacency_copy (vl_api_one_adjacency_t * dst, lisp_adjacency_t * adjs)
          a.leid.address.nsh.si = gid_address_nsh_si (&adj->leid);
          break;
        default:
-         ASSERT (0);
+         ALWAYS_ASSERT (0);
        }
       a.reid.type = eid_type;
       a.leid.type = eid_type;