summaryrefslogtreecommitdiffstats
path: root/src/vnet/ip/format.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vnet/ip/format.c')
-rw-r--r--src/vnet/ip/format.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/ip/format.c b/src/vnet/ip/format.c
index be1c4fd32fb..8469d0716e2 100644
--- a/src/vnet/ip/format.c
+++ b/src/vnet/ip/format.c
@@ -43,7 +43,7 @@
u8 *
format_ip_protocol (u8 * s, va_list * args)
{
- ip_protocol_t protocol = va_arg (*args, ip_protocol_t);
+ ip_protocol_t protocol = va_arg (*args, int); // int promo of ip_protocol_t);
ip_main_t *im = &ip_main;
ip_protocol_info_t *pi = ip_get_protocol_info (im, protocol);