ip: ip_address_t uses ip46_address_t
Type: improvement
type re-use.
Signed-off-by: Neale Ranns <nranns@cisco.com>
Change-Id: Ic2a2e6babf9ae66a1e53aec53a6cd157e1893dc8
diff --git a/src/vnet/ip/format.c b/src/vnet/ip/format.c
index be1c4fd..8469d07 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);