Fix local eid API in VAT 83/1983/1
authorFlorin Coras <[email protected]>
Mon, 18 Jul 2016 15:06:20 +0000 (17:06 +0200)
committerFlorin Coras <[email protected]>
Mon, 18 Jul 2016 15:09:05 +0000 (17:09 +0200)
Change-Id: I14fb0378944db5bf7a8843b4dc361de748659ece
Signed-off-by: Florin Coras <[email protected]>
vpp-api-test/vat/api_format.c

index 84e9c4f..4c96cc1 100644 (file)
@@ -10400,7 +10400,7 @@ api_lisp_add_del_local_eid(vat_main_t * vam)
     while (unformat_check_input (input) != UNFORMAT_END_OF_INPUT) {
         if (unformat(input, "del")) {
             is_add = 0;
-        } else if (unformat(input, "vni &d", &vni)) {
+        } else if (unformat(input, "vni %d", &vni)) {
             ;
         } else if (unformat(input, "eid %U/%d", unformat_ip4_address,
             &eidv4, &tmp_eid_lenght)) {