summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/vat/api_format.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vat/api_format.c b/src/vat/api_format.c
index f1935dee33a..cfe936643fb 100644
--- a/src/vat/api_format.c
+++ b/src/vat/api_format.c
@@ -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 */
}