diff --git a/net.c b/net.c index 18c238b..31d3f2b 100644 --- a/net.c +++ b/net.c @@ -996,6 +996,9 @@ get_device_ip6_address(ulong devaddr, char **bufp, long buflen) return; } + if (INVALID_MEMBER(inet6_ifaddr_if_next)) + return; + readmem(ip6_ptr + OFFSET(inet6_dev_addr_list), KVADDR, &addr, sizeof(void *), "inet6_dev.addr_list", FAULT_ON_ERROR);