Index: webrtc/p2p/base/p2ptransportchannel_unittest.cc |
diff --git a/webrtc/p2p/base/p2ptransportchannel_unittest.cc b/webrtc/p2p/base/p2ptransportchannel_unittest.cc |
index da0bfb041402acf87c178b8c2a1ee108d97e3f0b..b891f01e618e59ea54c7bf06e83dbf04acdf5dc2 100644 |
--- a/webrtc/p2p/base/p2ptransportchannel_unittest.cc |
+++ b/webrtc/p2p/base/p2ptransportchannel_unittest.cc |
@@ -1650,8 +1650,10 @@ TEST_F(P2PTransportChannelTest, TestIPv6Connections) { |
SetAllocationStepDelay(1, kMinimumStepDelay); |
// Enable IPv6 |
- SetAllocatorFlags(0, PORTALLOCATOR_ENABLE_IPV6); |
- SetAllocatorFlags(1, PORTALLOCATOR_ENABLE_IPV6); |
+ SetAllocatorFlags( |
+ 0, PORTALLOCATOR_ENABLE_IPV6 | PORTALLOCATOR_ENABLE_IPV6_ON_WIFI); |
+ SetAllocatorFlags( |
+ 1, PORTALLOCATOR_ENABLE_IPV6 | PORTALLOCATOR_ENABLE_IPV6_ON_WIFI); |
CreateChannels(); |
@@ -2196,8 +2198,10 @@ TEST_F(P2PTransportChannelMultihomedTest, TestFailoverWithManyConnections) { |
GetAllocator(0)->AddTurnServer(turn_server); |
GetAllocator(1)->AddTurnServer(turn_server); |
// Enable IPv6 |
- SetAllocatorFlags(0, PORTALLOCATOR_ENABLE_IPV6); |
- SetAllocatorFlags(1, PORTALLOCATOR_ENABLE_IPV6); |
+ SetAllocatorFlags( |
+ 0, PORTALLOCATOR_ENABLE_IPV6 | PORTALLOCATOR_ENABLE_IPV6_ON_WIFI); |
+ SetAllocatorFlags( |
+ 1, PORTALLOCATOR_ENABLE_IPV6 | PORTALLOCATOR_ENABLE_IPV6_ON_WIFI); |
SetAllocationStepDelay(0, kMinimumStepDelay); |
SetAllocationStepDelay(1, kMinimumStepDelay); |