mirror of https://github.com/vishvananda/netlink
Add support for setting route flags back
Removed in dfdad47
probably unintentionally.
resolves #93
This commit is contained in:
parent
b495efb88c
commit
7ff102806b
|
@ -116,6 +116,7 @@ func routeHandle(route *Route, req *nl.NetlinkRequest, msg *nl.RtMsg) error {
|
|||
msg.Type = uint8(route.Type)
|
||||
}
|
||||
|
||||
msg.Flags = uint32(route.Flags)
|
||||
msg.Scope = uint8(route.Scope)
|
||||
msg.Family = uint8(family)
|
||||
req.AddData(msg)
|
||||
|
|
Loading…
Reference in New Issue