mirror of
https://github.com/rancher/os.git
synced 2025-09-05 00:37:12 +00:00
Vendor changes for vishvananda/netlink
https://github.com/rancher/os/issues/1863
This commit is contained in:
2
vendor/github.com/vishvananda/netlink/route_linux.go
generated
vendored
2
vendor/github.com/vishvananda/netlink/route_linux.go
generated
vendored
@@ -401,7 +401,7 @@ func (h *Handle) RouteListFiltered(family int, filter *Route, filterMask uint64)
|
||||
}
|
||||
if filter != nil {
|
||||
switch {
|
||||
case filterMask&RT_FILTER_TABLE != 0 && route.Table != filter.Table:
|
||||
case filterMask&RT_FILTER_TABLE != 0 && filter.Table != syscall.RT_TABLE_UNSPEC && route.Table != filter.Table:
|
||||
continue
|
||||
case filterMask&RT_FILTER_PROTOCOL != 0 && route.Protocol != filter.Protocol:
|
||||
continue
|
||||
|
Reference in New Issue
Block a user