Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I see this was eventually fixed by manually declaring a structure that matches struct ifreq.

Instead of doing that, I would recommend submitting a patch against golang.org/x/sys to get that autogenerated. The Go folks tend to merge such PRs very quickly (<48h).



Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: