Ignore:
Timestamp:
Sep 18, 2007 7:33:33 PM (12 years ago)
Author:
bennylp
Message:

Ticket #374: Update STUN specification from rfc3489bis-06 to rfc3489bis-10

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjnath/src/pjnath/stun_msg_dump.c

    r1405 r1439  
    193193        } 
    194194        break; 
     195    case PJ_STUN_ATTR_ICE_CONTROLLED: 
     196    case PJ_STUN_ATTR_ICE_CONTROLLING: 
     197        { 
     198            const pj_stun_uint64_attr *attr; 
     199            pj_uint8_t data[8]; 
     200            int i; 
     201 
     202            attr = (const pj_stun_uint64_attr*) ahdr; 
     203 
     204            for (i=0; i<8; ++i) 
     205                data[i] = ((const pj_uint8_t*)&attr->value)[7-i]; 
     206 
     207            len = print_binary(p, end-p, data, 8); 
     208            APPLY(); 
     209        } 
     210        break; 
    195211    case PJ_STUN_ATTR_USE_CANDIDATE: 
    196212    default: 
Note: See TracChangeset for help on using the changeset viewer.