svm: refactor fifo chunk tracking
[vpp.git] / src / vnet / lisp-cp / one_cli.c
index 70d755b..d5a0ee0 100644 (file)
@@ -323,7 +323,7 @@ lisp_add_del_ndp_entry_command_fn (vlib_main_t * vm,
     }
 
   /* build GID address */
-  ip_address_set (&gid_address_arp_ndp_ip (g), &ip6, IP6);
+  ip_address_set (&gid_address_arp_ndp_ip (g), &ip6, AF_IP6);
   gid_address_ndp_bd (g) = bd;
   gid_address_type (g) = GID_ADDR_NDP;
   rc = vnet_lisp_add_del_l2_arp_ndp_entry (g, hw_addr, is_add);
@@ -1721,6 +1721,7 @@ lisp_add_del_locator_set_command_fn (vlib_main_t * vm,
                         &locator.weight))
        {
          locator.local = 1;
+         locator.state = 1;
          vec_add1 (locators, locator);
        }
       else