MSVC says a const object should be initialized, so initialize it.
Use nd_ipv6 as the type, while we're at it (it shouldn't make a
difference, but this means we know the type - array of 16 octets - so we
can just initialize it with { 0 }).
static int ND_IN6_IS_ADDR_UNSPECIFIED(const nd_ipv6 *addr)
{
- static const struct in6_addr in6addr_any_val; /* :: */
+ static const nd_ipv6 in6addr_any_val = { 0 }; /* :: */
return (memcmp(addr, &in6addr_any_val, sizeof(*addr)) == 0);
}