Index: net/base/net_util_win.cc |
diff --git a/net/base/net_util_win.cc b/net/base/net_util_win.cc |
index b44836ce3b569b9faf35099b9e6423b1300dee58..d0efe392dc2f48a3c87b8fd8b6ed9f572e560578 100644 |
--- a/net/base/net_util_win.cc |
+++ b/net/base/net_util_win.cc |
@@ -200,8 +200,10 @@ bool GetNetworkList(NetworkInterfaceList* networks) { |
} |
} |
} |
+ uint32 index = |
+ (family == AF_INET) ? adapter->IfIndex : adapter->Ipv6IfIndex; |
networks->push_back( |
- NetworkInterface(adapter->AdapterName, endpoint.address(), |
+ NetworkInterface(adapter->AdapterName, index, endpoint.address(), |
net_prefix)); |
} |
} |