aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/vpp/api/custom_dump.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vpp/api/custom_dump.c b/src/vpp/api/custom_dump.c
index 428e2883af2..c19acc37dcc 100644
--- a/src/vpp/api/custom_dump.c
+++ b/src/vpp/api/custom_dump.c
@@ -690,8 +690,8 @@ static void *vl_api_bond_enslave_t_print
u8 *s;
s = format (0, "SCRIPT: bond_enslave ");
- s = format (s, "bond_sw_if_index %u ", mp->bond_sw_if_index);
- s = format (s, "sw_if_index %u ", mp->sw_if_index);
+ s = format (s, "bond_sw_if_index %u ", ntohl (mp->bond_sw_if_index));
+ s = format (s, "sw_if_index %u ", ntohl (mp->sw_if_index));
if (mp->is_passive)
s = format (s, "passive ");
if (mp->is_long_timeout)