Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
bonding: support custom interface IDs
[vpp.git]
/
src
/
vnet
/
bonding
/
device.c
diff --git
a/src/vnet/bonding/device.c
b/src/vnet/bonding/device.c
index
2bbb90d
..
e288c57
100644
(file)
--- 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;
}