diff options
author | Alexander Chernavin <achernavin@netgate.com> | 2018-12-13 09:08:09 -0500 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2019-01-13 13:36:22 +0000 |
commit | ad9d528314a049971b1fb9a42562b00e07cf93f4 (patch) | |
tree | 31173f45bc3558c2ad3df62ad84b8ba6b4705788 /src/vpp | |
parent | e589b38f98e9d8f88a3bae56549ea49d9d802989 (diff) |
bonding: support custom interface IDs
Change-Id: I78fe58144fa3ba2e1c7135897a13a2541f235c91
Signed-off-by: Alexander Chernavin <achernavin@netgate.com>
Diffstat (limited to 'src/vpp')
-rw-r--r-- | src/vpp/api/custom_dump.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/vpp/api/custom_dump.c b/src/vpp/api/custom_dump.c index cf016003a47..3725dd370d4 100644 --- a/src/vpp/api/custom_dump.c +++ b/src/vpp/api/custom_dump.c @@ -675,9 +675,11 @@ static void *vl_api_bond_create_t_print 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, 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, mp->lb); + if (mp->id != ~0) + s = format (s, "id %u ", ntohl (mp->id)); FINISH; } |