Ignore:
Timestamp:
Mar 3, 2007 7:35:34 PM (17 years ago)
Author:
bennylp
Message:

Fixed STUN client/server authentication

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjlib-util/src/pjlib-util/stun_session.c

    r1037 r1038  
    700700                                       tmp_pool, &response); 
    701701    if (status != PJ_SUCCESS && response != NULL) { 
     702        PJ_LOG(5,(SNAME(sess), "Message authentication failed")); 
    702703        send_response(sess, tmp_pool, response, PJ_FALSE,  
    703704                      src_addr, src_addr_len); 
     
    866867    dump = pj_pool_alloc(tmp_pool, PJ_STUN_MAX_PKT_LEN); 
    867868 
    868     PJ_LOG(4,(SNAME(sess), 
     869    PJ_LOG(5,(SNAME(sess), 
    869870              "RX STUN message:\n" 
    870871              "--- begin STUN message ---\n" 
     
    885886    status = authenticate_msg(sess, packet, pkt_size, msg, tmp_pool,  
    886887                              src_addr, src_addr_len); 
    887     if (status != PJ_SUCCESS) 
     888    if (status != PJ_SUCCESS) { 
    888889        goto on_return; 
     890    } 
    889891 
    890892    /* Handle message */ 
Note: See TracChangeset for help on using the changeset viewer.