1
0
mirror of https://github.com/vishvananda/netlink synced 2025-04-01 22:58:37 +00:00

Fix build error

This commit is contained in:
Hubert Krauze 2015-12-10 10:34:34 +01:00
parent 8c46a90072
commit 0fade0d7ec

View File

@ -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: