summaryrefslogtreecommitdiffstats
path: root/src/vnet/ip/format.c
diff options
context:
space:
mode:
authorNeale Ranns <nranns@cisco.com>2020-02-24 13:32:30 +0000
committerFlorin Coras <florin.coras@gmail.com>2020-03-17 14:04:02 +0000
commit3ec09e9243dceb78e7548725281b0da8eddf72b1 (patch)
treefb591d687ea796751b523bfd69cd96c127a9e75b /src/vnet/ip/format.c
parent68449850783ed6a2570a864b2d12c79ff35c4072 (diff)
ip: ip_address_t uses ip46_address_t
Type: improvement type re-use. Signed-off-by: Neale Ranns <nranns@cisco.com> Change-Id: Ic2a2e6babf9ae66a1e53aec53a6cd157e1893dc8
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);