summaryrefslogtreecommitdiffstats
path: root/jingle/glue/utils.cc
diff options
context:
space:
mode:
Diffstat (limited to 'jingle/glue/utils.cc')
-rw-r--r--jingle/glue/utils.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/jingle/glue/utils.cc b/jingle/glue/utils.cc
index 26dda92..5e8d44b 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;
}