From b3f5aed4332b25c3fa7e725126efd3d4262c385e Mon Sep 17 00:00:00 2001 From: Qingsi Wang Date: Tue, 26 Jun 2018 16:54:14 -0700 Subject: [PATCH] Remove the flag PORTALLOCATOR_ENABLE_ANY_ADDRESS_PORTS. We now always enable any address ports, only using them if they end up using interfaces that weren't otherwise accessible. This flag is no longer used by downstream projects. TBR=deadbeef@webrtc.org Bug: None Change-Id: I6e4e93958cbc4300811bafb103f1a2e8732274ed Reviewed-on: https://webrtc-review.googlesource.com/85860 Commit-Queue: Qingsi Wang Reviewed-by: Qingsi Wang Cr-Commit-Position: refs/heads/master@{#23751} --- p2p/base/portallocator.h | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/p2p/base/portallocator.h b/p2p/base/portallocator.h index f5e5452736..2ef40fd428 100644 --- a/p2p/base/portallocator.h +++ b/p2p/base/portallocator.h @@ -75,16 +75,9 @@ enum { // When specified, do not collect IPv6 ICE candidates on Wi-Fi. PORTALLOCATOR_ENABLE_IPV6_ON_WIFI = 0x4000, - // This flag is deprecated; we now always enable any address ports, only - // using them if they end up using interfaces that weren't otherwise - // accessible. - // - // TODO(qingsi): Remove this flag when downstream projects no longer use it. - PORTALLOCATOR_ENABLE_ANY_ADDRESS_PORTS = 0x8000, - // Exclude link-local network interfaces // from considertaion after adapter enumeration. - PORTALLOCATOR_DISABLE_LINK_LOCAL_NETWORKS = 0x10000, + PORTALLOCATOR_DISABLE_LINK_LOCAL_NETWORKS = 0x8000, }; // Defines various reasons that have caused ICE regathering.