aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet
diff options
context:
space:
mode:
authorNeale Ranns <nranns@cisco.com>2020-04-22 16:02:47 +0000
committerDave Barach <openvpp@barachs.net>2020-04-22 19:53:02 +0000
commitf932f97d7d8e55ab62aba0f18d59a9622c21efd8 (patch)
tree203a39d12d10cd7be98bcd4517487447e8938ea6 /src/vnet
parent67ec589d231cd27261ccf2265ee8627cfce0fa00 (diff)
ip: fix format functions for u8 address_family
Type: fix Signed-off-by: Neale Ranns <nranns@cisco.com> Change-Id: I8c9f5330879fb8f51792b4476d5f0c873dbe4d7a
Diffstat (limited to 'src/vnet')
-rw-r--r--src/vnet/ip/ip_format_fns.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/ip/ip_format_fns.h b/src/vnet/ip/ip_format_fns.h
index 810a866dc54..5bd58ad3b81 100644
--- a/src/vnet/ip/ip_format_fns.h
+++ b/src/vnet/ip/ip_format_fns.h
@@ -64,7 +64,7 @@ format_vl_api_address_t (u8 * s, va_list * args)
vl_api_address_t *a = va_arg (*args, vl_api_address_t *);
u32 indent __attribute__((unused)) = va_arg (*args, u32);
- switch (clib_host_to_net_u32 (a->af)) {
+ switch (a->af) {
case ADDRESS_IP4:
return format(s, "%U", format_ip4_address, &a->un.ip4);
case ADDRESS_IP6: