Index: webrtc/base/virtualsocketserver.cc |
diff --git a/webrtc/base/virtualsocketserver.cc b/webrtc/base/virtualsocketserver.cc |
index da2cb1d741a04f28b1ae1480b44cfbb43757a376..1eb6e2f2be566fc5c897a92d84a696ed9822b9ea 100644 |
--- a/webrtc/base/virtualsocketserver.cc |
+++ b/webrtc/base/virtualsocketserver.cc |
@@ -1167,6 +1167,12 @@ bool VirtualSocketServer::CanInteractWith(VirtualSocket* local, |
return true; |
} |
+ if (local->was_any()) { |
+ return true; |
+ } |
+ if (remote->was_any()) { |
+ return true; |
+ } |
Taylor Brandstetter
2016/11/04 17:51:07
I don't think this is necessary, is it?
|
// Check to see if either socket was explicitly bound to IPv6-any. |
// These sockets can talk with anyone. |
if (local_ip.family() == AF_INET6 && local->was_any()) { |