Skip to content

Commit

Permalink
change interface to compatible linux implement
Browse files Browse the repository at this point in the history
  • Loading branch information
whywaita authored and aboch committed Aug 2, 2020
1 parent bca67df commit 98629f7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion handle_unspecified.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ func (h *Handle) LinkSetVfRate(link Link, vf, minRate, maxRate int) error {
return ErrNotImplemented
}

func (h *Handle) LinkSetMaster(link Link, master *Bridge) error {
func (h *Handle) LinkSetMaster(link Link, master Link) error {
return ErrNotImplemented
}

Expand Down
2 changes: 1 addition & 1 deletion netlink_unspecified.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ func LinkSetMTU(link Link, mtu int) error {
return ErrNotImplemented
}

func LinkSetMaster(link Link, master *Bridge) error {
func LinkSetMaster(link Link, master Link) error {
return ErrNotImplemented
}

Expand Down

0 comments on commit 98629f7

Please sign in to comment.