Index: webrtc/p2p/base/stunport.h |
diff --git a/webrtc/p2p/base/stunport.h b/webrtc/p2p/base/stunport.h |
index 6e7a239578f109b3bbbc4f3aa8b3bf62ce6aa0bd..ccd3f36cc304678dba9e4120f737e1c319666b5b 100644 |
--- a/webrtc/p2p/base/stunport.h |
+++ b/webrtc/p2p/base/stunport.h |
@@ -149,8 +149,10 @@ class UDPPort : public Port { |
void SendStunBindingRequests(); |
// Helper function which will set |addr|'s IP to the default local address if |
- // |addr| is the "any" address and |emit_local_for_anyaddress_| is true. |
- void MaybeSetDefaultLocalAddress(rtc::SocketAddress* addr) const; |
+ // |addr| is the "any" address and |emit_local_for_anyaddress_| is true. When |
+ // returning false, it indicates that the operation has failed and the |
+ // address shouldn't be used by any candidate. |
+ bool MaybeSetDefaultLocalAddress(rtc::SocketAddress* addr) const; |
private: |
// A helper class which can be called repeatedly to resolve multiple |