Index: jingle/glue/utils.cc |
diff --git a/jingle/glue/utils.cc b/jingle/glue/utils.cc |
index 26dda92391916f5ea017cde2ffd9f0625a33508f..5e8d44b23550950e4e4f75afdc85fd795e9c6a07 100644 |
--- a/jingle/glue/utils.cc |
+++ b/jingle/glue/utils.cc |
@@ -19,7 +19,7 @@ namespace jingle_glue { |
bool IPEndPointToSocketAddress(const net::IPEndPoint& address_chrome, |
talk_base::SocketAddress* address_lj) { |
- if (address_chrome.GetFamily() != AF_INET) { |
+ if (address_chrome.GetFamily() != net::ADDRESS_FAMILY_IPV4) { |
LOG(ERROR) << "Only IPv4 addresses are supported."; |
return false; |
} |