s = format (s, "mac-address %U ",
format_ethernet_address, mp->mac_address);
if (mp->mode)
- s = format (s, "mode %U ", format_bond_mode, mp->mode);
+ s = format (s, "mode %U ", format_bond_mode, ntohl (mp->mode));
if (mp->lb)
- s = format (s, "lb %U ", format_bond_load_balance, mp->lb);
+ s = format (s, "lb %U ", format_bond_load_balance, ntohl (mp->lb));
if (mp->numa_only)
s = format (s, "numa-only is set in lacp mode");
if (mp->id != ~0)