Skip to content

Commit

Permalink
internal/wglinux: set netlink.Config.Strict
Browse files Browse the repository at this point in the history
Signed-off-by: Matt Layher <mdlayher@gmail.com>
  • Loading branch information
mdlayher committed Feb 8, 2022
1 parent 09ae532 commit fde48d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/wglinux/client_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ type Client struct {
// New creates a new Client and returns whether or not the generic netlink
// interface is available.
func New() (*Client, bool, error) {
c, err := genetlink.Dial(nil)
c, err := genetlink.Dial(&netlink.Config{Strict: true})
if err != nil {
return nil, false, err
}
Expand Down

0 comments on commit fde48d6

Please sign in to comment.