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

raw: doesn't compile on linux/386 #1

Closed barakmich closed 8 years ago

barakmich commented 8 years ago
github.com/mdlayher/raw/raw_linux.go:285: undefined: syscall.SYS_SETSOCKOPT

In fact, it's not even defined in https://github.com/golang/sys/blob/master/unix/zsysnum_linux_386.go either... the closest reason I can find is https://github.com/golang/sys/blob/master/unix/syscall_linux_386.go#L186

mdlayher commented 8 years ago

Should be fixed by: https://github.com/mdlayher/raw/commit/b730b008e228b7a17bead43ec95edff75c2b082a.

mdlayher commented 8 years ago

barakmich | mdlayher: yep, works fine.

Closing.