mirror of
https://github.com/vishvananda/netlink
synced 2025-04-01 22:58:37 +00:00
Fix build error
This commit is contained in:
parent
8c46a90072
commit
0fade0d7ec
@ -890,7 +890,7 @@ func parseVxlanData(link Link, data []syscall.NetlinkRouteAttr) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func parseBondData(link Link, data []syscall.NetlinkRouteAttr) {
|
func parseBondData(link Link, data []syscall.NetlinkRouteAttr) {
|
||||||
bond := NewBond(LinkAttrs{})
|
bond := NewLinkBond(LinkAttrs{})
|
||||||
for i := range data {
|
for i := range data {
|
||||||
switch data[i].Attr.Type {
|
switch data[i].Attr.Type {
|
||||||
case nl.IFLA_BOND_MODE:
|
case nl.IFLA_BOND_MODE:
|
||||||
|
Loading…
Reference in New Issue
Block a user