Hi Jarno, On Tue, Nov 22, 2016 at 09:58:30AM +0200, Jarno Huuskonen wrote: > Hi, > > Does anybody else have problems compiling contrib/ip6range/ip6range.c > on centos7 ? > Compile fails with: > ip6range.c:31:3: error: ???struct in6_addr??? has no member named ???in6_u??? > a->in6_u.u6_addr32[0] = ntohl(a->in6_u.u6_addr32[0]); > ... > > ip6range.c compiles (and seems to work) if I change > sed -i -e 's,in6_u.u6_addr32,s6_addr32,g' ip6range.c > > (s6_addr32 is in netinet/in.h > #if !__USE_KERNEL_IPV6_DEFS > #if defined __USE_MISC || defined __USE_GNU > )
I didn't try, but I think you're right given that the Lua code already uses s6_addr32 and nobody reported any build issue. I'll fix this now. thanks, willy

