summaryrefslogtreecommitdiffstats
path: root/remoting/jingle_glue
diff options
context:
space:
mode:
authorsergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-09-19 21:46:09 +0000
committersergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-09-19 21:46:09 +0000
commit8ab77e8332c0d0ee218ccac3980d507e55c6a6a1 (patch)
tree4fc7b854d8d32700fdf57d9bd7825089c60a6bad /remoting/jingle_glue
parentec8e0595ffc37d55eaf2a415e09aa3444d7f0ea5 (diff)
downloadchromium_src-8ab77e8332c0d0ee218ccac3980d507e55c6a6a1.zip
chromium_src-8ab77e8332c0d0ee218ccac3980d507e55c6a6a1.tar.gz
chromium_src-8ab77e8332c0d0ee218ccac3980d507e55c6a6a1.tar.bz2
Enable IPv6 in chromoting
BUG=242739 Review URL: https://chromiumcodereview.appspot.com/23464086 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@224212 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/jingle_glue')
-rw-r--r--remoting/jingle_glue/chromium_port_allocator.cc13
1 files changed, 6 insertions, 7 deletions
diff --git a/remoting/jingle_glue/chromium_port_allocator.cc b/remoting/jingle_glue/chromium_port_allocator.cc
index 1ee6fe4..a179650 100644
--- a/remoting/jingle_glue/chromium_port_allocator.cc
+++ b/remoting/jingle_glue/chromium_port_allocator.cc
@@ -140,14 +140,13 @@ scoped_ptr<ChromiumPortAllocator> ChromiumPortAllocator::Create(
new ChromiumPortAllocator(url_context, network_manager.Pass(),
socket_factory.Pass()));
- // We always use PseudoTcp to provide a reliable channel. It
- // provides poor performance when combined with TCP-based transport,
- // so we have to disable TCP ports.
- // ENABLE_SHARED_UFRAG flag is
- // specified so that the same username fragment is shared between
- // all candidates for this channel.
+ // We always use PseudoTcp to provide a reliable channel. It provides poor
+ // performance when combined with TCP-based transport, so we have to disable
+ // TCP ports. ENABLE_SHARED_UFRAG flag is specified so that the same username
+ // fragment is shared between all candidates for this channel.
int flags = cricket::PORTALLOCATOR_DISABLE_TCP |
- cricket::PORTALLOCATOR_ENABLE_SHARED_UFRAG;
+ cricket::PORTALLOCATOR_ENABLE_SHARED_UFRAG |
+ cricket::PORTALLOCATOR_ENABLE_IPV6;
if (network_settings.nat_traversal_mode !=
NetworkSettings::NAT_TRAVERSAL_ENABLED) {
flags |= cricket::PORTALLOCATOR_DISABLE_STUN |