Chromium Code Reviews| Index: net/base/net_util_win.cc |
| diff --git a/net/base/net_util_win.cc b/net/base/net_util_win.cc |
| index 0455dab3cfaf1a9d2a27c032963a983c56db80fe..e256e4345489620cb44837be119104efca19e443 100644 |
| --- a/net/base/net_util_win.cc |
| +++ b/net/base/net_util_win.cc |
| @@ -105,6 +105,10 @@ bool GetNetworkList(NetworkInterfaceList* networks) { |
| continue; |
| } |
| + if (adapter->OperStatus != IfOperStatusUp) { |
| + continue; |
| + } |
| + |
| IP_ADAPTER_UNICAST_ADDRESS* address; |
| for (address = adapter->FirstUnicastAddress; address != NULL; |
| address = address->Next) { |
|
wtc
2012/02/17 19:36:23
Comparing this code with the GetNetworkList functi
|