Index: webrtc/p2p/base/stun.h |
diff --git a/webrtc/p2p/base/stun.h b/webrtc/p2p/base/stun.h |
index c0f5cfdfec58c542bccae76848458467f285495f..153f63dc58665ef3a9322c7c2fb292f0b3e8b17b 100644 |
--- a/webrtc/p2p/base/stun.h |
+++ b/webrtc/p2p/base/stun.h |
@@ -606,6 +606,7 @@ enum IceAttributeType { |
STUN_ATTR_USE_CANDIDATE = 0x0025, // No content, Length = 0 |
STUN_ATTR_ICE_CONTROLLED = 0x8029, // UInt64 |
STUN_ATTR_ICE_CONTROLLING = 0x802A, // UInt64 |
+ STUN_ATTR_NOMINATION = 0xC001, // UInt32 |
// UInt32. The higher 16 bits are the network ID. The lower 16 bits are the |
// network cost. |
STUN_ATTR_NETWORK_INFO = 0xC057 |
@@ -624,6 +625,7 @@ class IceMessage : public StunMessage { |
switch (type) { |
case STUN_ATTR_PRIORITY: |
case STUN_ATTR_NETWORK_INFO: |
+ case STUN_ATTR_NOMINATION: |
return STUN_VALUE_UINT32; |
case STUN_ATTR_USE_CANDIDATE: return STUN_VALUE_BYTE_STRING; |
case STUN_ATTR_ICE_CONTROLLED: return STUN_VALUE_UINT64; |