lisp: fix vat crash with one_add_del_local_eid api
[vpp.git] / src / vat / api_format.c
index f1935de..cfe9366 100644 (file)
@@ -14305,7 +14305,7 @@ unformat_lisp_eid_vat (unformat_input_t * input, va_list * args)
     {
       a->type = 0;             /* ip prefix type */
     }
-  else if (unformat (input, "%U", unformat_ethernet_address, a->addr.mac))
+  else if (unformat (input, "%U", unformat_ethernet_address, &a->addr.mac))
     {
       a->type = 1;             /* mac type */
     }