mirror of
https://github.com/vishvananda/netlink
synced 2025-03-19 17:54:13 +00:00
Expose AFI on routes
This commit is contained in:
parent
079db23e21
commit
d1fad16de5
1
route.go
1
route.go
@ -41,6 +41,7 @@ type Route struct {
|
||||
MultiPath []*NexthopInfo
|
||||
Protocol RouteProtocol
|
||||
Priority int
|
||||
Family int
|
||||
Table int
|
||||
Type int
|
||||
Tos int
|
||||
|
@ -1098,6 +1098,7 @@ func deserializeRoute(m []byte) (Route, error) {
|
||||
Type: int(msg.Type),
|
||||
Tos: int(msg.Tos),
|
||||
Flags: int(msg.Flags),
|
||||
Family: int(msg.Family),
|
||||
}
|
||||
|
||||
var encap, encapType syscall.NetlinkRouteAttr
|
||||
|
Loading…
Reference in New Issue
Block a user