Index: webrtc/voice_engine/test/channel_transport/udp_transport_impl.cc |
diff --git a/webrtc/voice_engine/test/channel_transport/udp_transport_impl.cc b/webrtc/voice_engine/test/channel_transport/udp_transport_impl.cc |
index e265c1e84c3aeea6bf09d74f46309e9b5ac3e7f2..c44cf9e17258caeb61844f984886a04b2a89b376 100644 |
--- a/webrtc/voice_engine/test/channel_transport/udp_transport_impl.cc |
+++ b/webrtc/voice_engine/test/channel_transport/udp_transport_impl.cc |
@@ -2875,6 +2875,10 @@ bool UdpTransport::IsIpAddressValid(const char* ipadr, const bool ipV6) |
{ |
return false; |
} |
+ if(nColons < 7 && nDubbleColons == 0) |
+ { |
+ return false; |
+ } |
if(!(nDots == 3 || nDots == 0)) |
{ |
return false; |