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
)

-Jarno

-- 
Jarno Huuskonen

Reply via email to