aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/dev/format.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vnet/dev/format.c')
-rw-r--r--src/vnet/dev/format.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vnet/dev/format.c b/src/vnet/dev/format.c
index bde245cafee..fb46fcc47bc 100644
--- a/src/vnet/dev/format.c
+++ b/src/vnet/dev/format.c
@@ -319,7 +319,7 @@ unformat_vnet_dev_port_flags (unformat_input_t *input, va_list *args)
#undef _
};
u64 flag_values[] = {
-#define _(b, n, d) 1ull << (b)
+#define _(b, n, d) 1ull << (b),
foreach_vnet_dev_port_flag
#undef _
};
@@ -395,7 +395,7 @@ format_vnet_dev_port_flags (u8 *s, va_list *args)
#undef _
};
u64 flag_values[] = {
-#define _(b, n, d) 1ull << (b)
+#define _(b, n, d) 1ull << (b),
foreach_vnet_dev_port_flag
#undef _
};