Ignore:
Timestamp:
Apr 4, 2007 5:49:28 PM (17 years ago)
Author:
bennylp
Message:

Added PJ_STUN_NO_AUTHENTICATE option to disable authentication in STUN session

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjnath/src/pjstun-client/client_main.c

    r1150 r1151  
    3030#define REQ_IP          NULL                /* IP address string */ 
    3131 
     32#define OPTIONS         PJ_STUN_NO_AUTHENTICATE 
    3233 
    3334static struct global 
     
    157158                if (pj_stun_msg_check(buffer, len, PJ_STUN_IS_DATAGRAM)==PJ_SUCCESS) { 
    158159                    rc = pj_stun_session_on_rx_pkt(g.sess, buffer, len,  
    159                                                    0,  
     160                                                   OPTIONS,  
    160161                                                   NULL, &addr, addrlen); 
    161162                    if (rc != PJ_SUCCESS) 
Note: See TracChangeset for help on using the changeset viewer.