| Index: net/base/net_util_posix.cc
|
| diff --git a/net/base/net_util_posix.cc b/net/base/net_util_posix.cc
|
| index 0412792ebb2e38efcf67e3ad76ad53463508eb3b..9257989b9f6d76e7c2797be8f9598a6e887350c3 100644
|
| --- a/net/base/net_util_posix.cc
|
| +++ b/net/base/net_util_posix.cc
|
| @@ -75,6 +75,8 @@ bool GetNetworkList(NetworkInterfaceList* networks) {
|
| }
|
|
|
| for (ifaddrs *ifa = ifaddr; ifa != NULL; ifa = ifa->ifa_next) {
|
| + if (!ifa->ifa_addr)
|
| + continue; // Interface has no IP addresses, so skip it.
|
| int family = ifa->ifa_addr->sa_family;
|
| if (family == AF_INET || family == AF_INET6) {
|
| IPEndPoint address;
|
|
|