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/vnet/bonding/device.c | |
parent | e589b38f98e9d8f88a3bae56549ea49d9d802989 (diff) |
bonding: support custom interface IDs
Change-Id: I78fe58144fa3ba2e1c7135897a13a2541f235c91
Signed-off-by: Alexander Chernavin <achernavin@netgate.com>
Diffstat (limited to 'src/vnet/bonding/device.c')
-rw-r--r-- | src/vnet/bonding/device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/bonding/device.c b/src/vnet/bonding/device.c index 2bbb90d20f9..e288c572b19 100644 --- a/src/vnet/bonding/device.c +++ b/src/vnet/bonding/device.c @@ -72,7 +72,7 @@ format_bond_interface_name (u8 * s, va_list * args) bond_main_t *bm = &bond_main; bond_if_t *bif = pool_elt_at_index (bm->interfaces, dev_instance); - s = format (s, "BondEthernet%lu", bif->dev_instance); + s = format (s, "BondEthernet%lu", bif->id); return s; } |