diff options
author | Benny Prijono <bennylp@teluu.com> | 2008-04-13 21:48:44 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2008-04-13 21:48:44 +0000 |
commit | 4a8f891d8fafd8dec50620ce45076dbe112f9f3e (patch) | |
tree | d40dc7094548ee80099ca845c0b01f34cd70a596 /pjnath/src/pjturn-srv/server.c | |
parent | 848e880ca8c2811caeccceba3f325d28c63adec0 (diff) |
More ticket #485: fixed TURN server permission not allowing peer with the same IP to get through, and added option to disable FINGERPRINT verification in TURN server since it is currently broken when TURN is used with ICE (which has a FINGERPRINT in its Binding Request)
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1924 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjnath/src/pjturn-srv/server.c')
-rw-r--r-- | pjnath/src/pjturn-srv/server.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pjnath/src/pjturn-srv/server.c b/pjnath/src/pjturn-srv/server.c index 17ded7b0..79792b78 100644 --- a/pjnath/src/pjturn-srv/server.c +++ b/pjnath/src/pjturn-srv/server.c @@ -581,7 +581,7 @@ PJ_DEF(void) pj_turn_srv_on_rx_pkt(pj_turn_srv *srv, pj_status_t status; /* Check that this is a STUN message */ - options = PJ_STUN_CHECK_PACKET; + options = PJ_STUN_CHECK_PACKET | PJ_STUN_NO_FINGERPRINT_CHECK; if (pkt->transport->listener->tp_type == PJ_TURN_TP_UDP) options |= PJ_STUN_IS_DATAGRAM; |