aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/plugins/mactime/mactime.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/mactime/mactime.c b/src/plugins/mactime/mactime.c
index b8b1884119d..f878ffe5efe 100644
--- a/src/plugins/mactime/mactime.c
+++ b/src/plugins/mactime/mactime.c
@@ -637,7 +637,8 @@ show_mactime_command_fn (vlib_main_t * vm,
print:
vec_reset_length (macstring);
- macstring = format (0, "%U", format_mac_address, dp->mac_address);
+ macstring =
+ format (macstring, "%U", format_mac_address, dp->mac_address);
switch (current_status)
{
case 0: