Skip to content

Commit

Permalink
Update netlink_unspecified with new Addr function prototypes
Browse files Browse the repository at this point in the history
At some point the function prototypes for the `AddrAdd` and `AddrDel`
functions got out of sync with addr_linix.go.  This patch fixes it.
  • Loading branch information
ejj authored and vishvananda committed Jan 5, 2017
1 parent 13fb20a commit 9f67bd4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions netlink_unspecified.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 9f67bd4

Please sign in to comment.