Changeset 5527


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.

Location:
pjproject/trunk/pjnath
Files:
2 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 
  • pjproject/trunk/pjnath/src/pjnath/stun_msg.c

    r4895 r5527  
    344344    }, 
    345345    { 
    346         /* PJ_STUN_ATTR_REQUESTED_ADDR_TYPE, */ 
    347         "REQUESTED-ADDRESS-TYPE", 
     346        /* PJ_STUN_ATTR_REQUESTED_ADDR_FAMILY, */ 
     347        "REQUESTED-ADDRESS-FAMILY", 
    348348        &decode_uint_attr, 
    349349        &encode_uint_attr, 
Note: See TracChangeset for help on using the changeset viewer.