summaryrefslogtreecommitdiffstats
path: root/src/plugins/mactime
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/mactime')
-rw-r--r--src/plugins/mactime/mactime_test.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/mactime/mactime_test.c b/src/plugins/mactime/mactime_test.c
index f7f4600efad..40a9da08442 100644
--- a/src/plugins/mactime/mactime_test.c
+++ b/src/plugins/mactime/mactime_test.c
@@ -24,6 +24,7 @@
#include <vpp-api/client/stat_client.h>
/* Declare message IDs */
+#include <vnet/format_fns.h>
#include <mactime/mactime.api_enum.h>
#include <mactime/mactime.api_types.h>
@@ -202,7 +203,7 @@ format_device (u8 * s, va_list * args)
current_status = 4;
print:
- macstring = format (0, "%U", format_mac_address, dp->mac_address);
+ macstring = format (0, "%U", format_vl_api_mac_address_t, dp->mac_address);
switch (current_status)
{
case 0: