From 9f67bd458bea3dfdcff2c58ebe24875e525e68ba Mon Sep 17 00:00:00 2001 From: "Ethan J. Jackson" Date: Mon, 19 Dec 2016 18:38:47 -0500 Subject: [PATCH] Update netlink_unspecified with new Addr function prototypes At some point the function prototypes for the `AddrAdd` and `AddrDel` functions got out of sync with addr_linix.go. This patch fixes it. --- netlink_unspecified.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/netlink_unspecified.go b/netlink_unspecified.go index 2ae5b0d..e367d7f 100644 --- a/netlink_unspecified.go +++ b/netlink_unspecified.go @@ -143,11 +143,11 @@ func LinkList() ([]Link, error) { return nil, ErrNotImplemented } -func AddrAdd(link *Link, addr *Addr) error { +func AddrAdd(link Link, addr *Addr) error { return ErrNotImplemented } -func AddrDel(link *Link, addr *Addr) error { +func AddrDel(link Link, addr *Addr) error { return ErrNotImplemented }