mdlayher / raw

Package raw enables reading and writing data at the device driver level for a network interface. MIT Licensed.
MIT License
425 stars 71 forks source link

Allow non-ethernet interfaces #56

Closed hdm closed 5 years ago

hdm commented 5 years ago

This PR removes the strict length checking of the hardware address length, this is necessary to use other link types (for example, a tun0 interface from OpenVPN).

hdm commented 5 years ago

Will check build failures and resubmit, thanks!

bluecmd commented 5 years ago

I totally missed this PR when I filed https://github.com/mdlayher/raw/issues/57. I have a PR https://github.com/mdlayher/raw/pull/58 that does this as well.