Closed gavinbunney closed 5 months ago
When using this library in multi-os builds, the sys/unix flags for ETHTOOL_LINK_MODE_* fail to compile on darwin. This PR moves them into a ethtool_linux.go specific source file, and a stub in ethtool_darwin.go to not have any supportedCapabilities.
sys/unix
ETHTOOL_LINK_MODE_*
ethtool_linux.go
ethtool_darwin.go
supportedCapabilities
Thanks for the quick merge! Would you be able to tag a new release as well? 🙏
I published a new release.
When using this library in multi-os builds, the
sys/unix
flags forETHTOOL_LINK_MODE_*
fail to compile on darwin. This PR moves them into aethtool_linux.go
specific source file, and a stub inethtool_darwin.go
to not have anysupportedCapabilities
.