Commit f6d7b2f0 authored by jselbie's avatar jselbie

Fix padding and response-port attribute id values

parent 242c10a2
......@@ -52,6 +52,10 @@ const uint16_t STUN_ATTRIBUTE_REALM = 0x0014;
const uint16_t STUN_ATTRIBUTE_NONCE = 0x0015;
const uint16_t STUN_ATTRIBUTE_XORMAPPEDADDRESS = 0x0020;
const uint16_t STUN_ATTRIBUTE_PADDING = 0x0026;
const uint16_t STUN_ATTRIBUTE_RESPONSE_PORT = 0x0027;
// This attribute is sent by the server to legacy clients
// 0x8020 is is not defined in any RFC, but is the value that Vovida server uses
......@@ -59,8 +63,6 @@ const uint16_t STUN_ATTRIBUTE_XORMAPPEDADDRESS_OPTIONAL = 0x8020;
const uint16_t STUN_ATTRIBUTE_SOFTWARE = 0x8022;
const uint16_t STUN_ATTRIBUTE_ALTERNATESERVER = 0x8023;
const uint16_t STUN_ATTRIBUTE_PADDING = 0x8026;
const uint16_t STUN_ATTRIBUTE_RESPONSE_PORT = 0x8027;
const uint16_t STUN_ATTRIBUTE_FINGERPRINT = 0x8028;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment