Skip to content

Commit

Permalink
add fd to socket. sort of necessary because the case of s to interfac…
Browse files Browse the repository at this point in the history
…e socket
  • Loading branch information
gsexton committed Sep 12, 2024
1 parent 2eaa0bc commit 47b0b70
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion netlink/netlink_other.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ import "errors"

const isLinux = false

type connSocket struct{}
type connSocket struct {
fd int
}

func newConnSocket() (*connSocket, error) {
return nil, errors.New("netlink sockets are not supported")
Expand Down

0 comments on commit 47b0b70

Please sign in to comment.