From 90b9ee53585fd2ab8360c6bde4c9f19f23169ac8 Mon Sep 17 00:00:00 2001 From: "Ethan J. Jackson" Date: Thu, 5 Jan 2017 14:04:17 -0800 Subject: [PATCH] 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. --- netlink_unspecified.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netlink_unspecified.go b/netlink_unspecified.go index e367d7f..8a3c23e 100644 --- a/netlink_unspecified.go +++ b/netlink_unspecified.go @@ -163,7 +163,7 @@ func RouteDel(route *Route) error { return ErrNotImplemented } -func RouteList(link *Link, family int) ([]Route, error) { +func RouteList(link Link, family int) ([]Route, error) { return nil, ErrNotImplemented }