Compile Error: ‘struct in6_addr’ has no member named ‘__in6_u’;
Rot127 opened this issue · comments
Building fails with:
helpers.c:57:34: error: ‘struct in6_addr’ has no member named ‘__in6_u’; did you mean ‘__in6_union’?
57 | &this_ip.__in6_u.__u6_addr8[3],
| ^~~~~~~
| __in6_union
Can be fixed by changing &this_ip.__in6_u.__u6_addr8[0]
with &this_ip.s6_addr[0]
.
For references: in6_addr is declared in /usr/include/linux/in6.h