aboutsummaryrefslogtreecommitdiffstats
path: root/src/vpp/api/api.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vpp/api/api.c')
-rw-r--r--src/vpp/api/api.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vpp/api/api.c b/src/vpp/api/api.c
index 7f6a125e..f169d7fc 100644
--- a/src/vpp/api/api.c
+++ b/src/vpp/api/api.c
@@ -2268,7 +2268,7 @@ format_arp_event (u8 * s, va_list * args)
{
vl_api_ip4_arp_event_t *event = va_arg (*args, vl_api_ip4_arp_event_t *);
- s = format (s, "pid %d: ", event->pid);
+ s = format (s, "pid %d: ", ntohl (event->pid));
if (event->mac_ip)
s = format (s, "bd mac/ip4 binding events");
else
@@ -2281,7 +2281,7 @@ format_nd_event (u8 * s, va_list * args)
{
vl_api_ip6_nd_event_t *event = va_arg (*args, vl_api_ip6_nd_event_t *);
- s = format (s, "pid %d: ", event->pid);
+ s = format (s, "pid %d: ", ntohl (event->pid));
if (event->mac_ip)
s = format (s, "bd mac/ip6 binding events");
else