diff options
author | Ole Troan <ot@cisco.com> | 2019-10-09 14:27:40 +0200 |
---|---|---|
committer | Ole Trøan <otroan@employees.org> | 2019-10-10 08:29:41 +0000 |
commit | 18cd91c61116f49468ac4596cddb4f1f8fc04bbc (patch) | |
tree | 4ab3b395360d600664cdf24d0eb662f577193a99 /src/plugins/mactime/mactime_test.c | |
parent | 2d3282e17f4080a838163c4f4ed32e890d79696c (diff) |
mactime: fix undefined symbol in mactime_test
undefined symbol format_macaddress
Type: fix
Signed-off-by: Ole Troan <ot@cisco.com>
Change-Id: I5549173ef758e965cf7d9d4f6aa9457d135318f5
Diffstat (limited to 'src/plugins/mactime/mactime_test.c')
-rw-r--r-- | src/plugins/mactime/mactime_test.c | 3 |
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: |