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 <qingsi@google.com>
Reviewed-by: Qingsi Wang <qingsi@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23751}
This commit is contained in:
Qingsi Wang 2018-06-26 16:54:14 -07:00 committed by Commit Bot
parent d6eb71ef2c
commit b3f5aed433

View File

@ -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.