vendor: github.com/vishvananda/netlink@a1f8555

Update to current master, to get IPVLAN L3s def.
This commit is contained in:
Lincoln Stoll
2016-11-05 13:40:34 -07:00
parent 0e09ad29df
commit 2ad1d04561
10 changed files with 321 additions and 24 deletions

View File

@ -153,7 +153,7 @@ func (h *Handle) routeHandle(route *Route, req *nl.NetlinkRequest, msg *nl.RtMsg
} else {
gw = nl.NewRtAttr(syscall.RTA_GATEWAY, []byte(nh.Gw.To16()))
}
gwData := gw.Serialize()
gwData = gw.Serialize()
rtnh.Len += uint16(len(gwData))
}
buf = append(buf, rtnh.Serialize()...)