nntpd is broken under NetBSD (ioctl (SIOCGIFCONF))
Brought to you by:
m-a
leafnode uses ioctl (SIOCGIFCONF) in a way incompatible with NetBSD-5.
See details here
http://mail-index.netbsd.org/tech-userlevel/2009/03/21/msg001898.html
NetBSD developers recomend to use getifaddrs(3) API available in NetBSD and FreeBSD for many years.
getifaddrs(3) is also available under OpenBSD.
Hi Aleksey,
thanks for the research and the solution. I've gone for the solution that Roy Marples (of dhcpcd fame) has suggested, rather than the system-specific getifaddrs(), since the latter isn't available on Solaris or Linux.
While I was at it, I also added support to obtain netmasks for IP aliases on BSD. This is to appear in leafnode 1.11.7.
Thanks for the report.