summaryrefslogtreecommitdiffstats
path: root/jingle
diff options
context:
space:
mode:
authorszym@chromium.org <szym@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-13 01:46:44 +0000
committerszym@chromium.org <szym@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-13 01:46:44 +0000
commite466aaf8879c1b585999cc8625d06a772ab4ced1 (patch)
tree6e63b713017efd4bb0e337a7788a4367d0b3bc4c /jingle
parent8960f40c5568df1263fdb9b05a53f3650238d422 (diff)
downloadchromium_src-e466aaf8879c1b585999cc8625d06a772ab4ced1.zip
chromium_src-e466aaf8879c1b585999cc8625d06a772ab4ced1.tar.gz
chromium_src-e466aaf8879c1b585999cc8625d06a772ab4ced1.tar.bz2
[net] Make IPEndPoint::GetFamily() return AddressFamily and add GetSockAddrFamily() to be used when creating sockets.
BUG=126002 TEST=browse anywhere Review URL: https://chromiumcodereview.appspot.com/11528012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@172768 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'jingle')
-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;
}