Changeset 1544


Ignore:
Timestamp:
Nov 3, 2007 9:43:05 PM (12 years ago)
Author:
bennylp
Message:

Log source address of incoming STUN message

File:
1 edited

Legend:

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

    r1498 r1544  
    10171017 
    10181018    PJ_LOG(5,(SNAME(sess), 
    1019               "RX STUN message:\n" 
     1019              "RX STUN message from %s:%d:\n" 
    10201020              "--- begin STUN message ---\n" 
    10211021              "%s" 
    10221022              "--- end of STUN message ---\n", 
     1023              pj_inet_ntoa(((pj_sockaddr_in*)src_addr)->sin_addr), 
     1024              pj_ntohs(((pj_sockaddr_in*)src_addr)->sin_port), 
    10231025              pj_stun_msg_dump(msg, dump, PJ_STUN_MAX_PKT_LEN, NULL))); 
    10241026 
Note: See TracChangeset for help on using the changeset viewer.