1
0
mirror of https://github.com/coturn/coturn.git synced 2025-12-24 17:31:00 +01:00

Update attribute values according to RFC 8656 (#1748)

Source https://datatracker.ietf.org/doc/html/rfc8656#section-18
Now conforms to RFC specification

- ADDITIONAL_ADDRESS_FAMILY (0x8000) - was (0x8032)
- ADDRESS_ERROR_CODE (0x8001) - was (0x8033)

Fixes #1740
This commit is contained in:
Pavel Punsky 2025-09-07 19:34:38 -07:00 committed by GitHub
parent ce72767375
commit 0749cd7efd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 5 deletions

View File

@ -136,6 +136,11 @@
#define STUN_ATTRIBUTE_CONNECTION_ID (0x002A)
/* <<== RFC 6062 */
/* RFC 8656 ==>> */
#define STUN_ATTRIBUTE_ADDITIONAL_ADDRESS_FAMILY (0x8000)
#define STUN_ATTRIBUTE_ADDRESS_ERROR_CODE (0x8001)
/* <<== RFC 8656 */
#define STUN_VALID_CHANNEL(chn) ((chn) >= 0x4000 && (chn) <= 0x7FFF)
///////// extra values //////////////////

View File

@ -53,9 +53,4 @@
/* <<== Bandwidth */
////////////// SSODA ///////////////////
#define STUN_ATTRIBUTE_ADDITIONAL_ADDRESS_FAMILY (0x8032)
#define STUN_ATTRIBUTE_ADDRESS_ERROR_CODE (0x8033)
#endif //__LIB_TURN_MSG_DEFS_NEW__