Index: webrtc/p2p/base/portallocator.h |
diff --git a/webrtc/p2p/base/portallocator.h b/webrtc/p2p/base/portallocator.h |
index 4f8ec2fbe69c2d7a88594df48fe9873cbdaf440a..00225aeff61a5a5feb95ff85aa4f38e3572af75d 100644 |
--- a/webrtc/p2p/base/portallocator.h |
+++ b/webrtc/p2p/base/portallocator.h |
@@ -46,10 +46,12 @@ enum { |
PORTALLOCATOR_ENABLE_SHARED_UFRAG = 0x80, |
PORTALLOCATOR_ENABLE_SHARED_SOCKET = 0x100, |
PORTALLOCATOR_ENABLE_STUN_RETRANSMIT_ATTRIBUTE = 0x200, |
+ // When specified, we'll only generate the default public candidate as used by |
+ // http traffic and the default private candidate associated with that. |
PORTALLOCATOR_DISABLE_ADAPTER_ENUMERATION = 0x400, |
- // When specified, a loopback candidate will be generated if |
+ // When specified, the default private candidate will not be generated when |
// PORTALLOCATOR_DISABLE_ADAPTER_ENUMERATION is specified. |
- PORTALLOCATOR_ENABLE_LOCALHOST_CANDIDATE = 0x800, |
+ PORTALLOCATOR_DISABLE_LOCAL_CANDIDATE = 0x800, |
// Disallow use of UDP when connecting to a relay server. Since proxy servers |
// usually don't handle UDP, using UDP will leak the IP address. |
PORTALLOCATOR_DISABLE_UDP_RELAY = 0x1000, |