mirror of https://github.com/vishvananda/netlink
Fix the RouteList() prototype on non-linux platforms
The RouteList() function prototype had become out of sync with its Linux counterpart. This patch updates it.
This commit is contained in:
parent
1890b34fa3
commit
90b9ee5358
|
@ -163,7 +163,7 @@ func RouteDel(route *Route) error {
|
||||||
return ErrNotImplemented
|
return ErrNotImplemented
|
||||||
}
|
}
|
||||||
|
|
||||||
func RouteList(link *Link, family int) ([]Route, error) {
|
func RouteList(link Link, family int) ([]Route, error) {
|
||||||
return nil, ErrNotImplemented
|
return nil, ErrNotImplemented
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue