Ignore:
Timestamp:
Jan 18, 2017 3:50:32 AM (8 years ago)
Author:
ming
Message:

Re #1945 (misc): Add an alias REQUESTED-ADDRESS-FAMILY (which is used in the RFC 6156) for REQUESTED-ADDRESS-TYPE (which is used in the draft). Change the string literal to use the RFC version.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjnath/include/pjnath/stun_msg.h

    r3553 r5527  
    324324    PJ_STUN_ATTR_XOR_RELAYED_ADDR   = 0x0016,/**< TURN XOR-RELAYED-ADDRESS  */ 
    325325    PJ_STUN_ATTR_REQ_ADDR_TYPE      = 0x0017,/**< REQUESTED-ADDRESS-TYPE    */ 
     326    PJ_STUN_ATTR_REQ_ADDR_FAMILY    = 0x0017,/**< REQUESTED-ADDRESS-FAMILY  */ 
    326327    PJ_STUN_ATTR_EVEN_PORT          = 0x0018,/**< TURN EVEN-PORT            */ 
    327328    PJ_STUN_ATTR_REQ_TRANSPORT      = 0x0019,/**< TURN REQUESTED-TRANSPORT  */ 
     
    964965 
    965966/** 
    966  * This describes the REQUESTED-ADDRESS-TYPE attribute. 
    967  * The REQUESTED-ADDRESS-TYPE attribute is used by clients to request 
     967 * According to RFC 6156, this describes the REQUESTED-ADDRESS-FAMILY 
     968 * attribute (formerly known as REQUESTED-ADDRESS-TYPE in the draft). 
     969 * The REQUESTED-ADDRESS-FAMILY attribute is used by clients to request 
    968970 * the allocation of a specific address type from a server.  The 
    969  * following is the format of the REQUESTED-ADDRESS-TYPE attribute. 
     971 * following is the format of the REQUESTED-ADDRESS-FAMILY attribute. 
    970972 
    971973 \verbatim 
Note: See TracChangeset for help on using the changeset viewer.