diff options
author | Livio Madaro <kakaroto@kakaroto.homelinux.net> | 2014-06-17 21:18:57 -0400 |
---|---|---|
committer | Youness Alaoui <youness.alaoui@collabora.co.uk> | 2014-07-22 20:45:34 -0400 |
commit | 76f4aeaefef711c0727b9e9957d18c40c3142676 (patch) | |
tree | deacea33b1fd14a29cc6dbbaa18403298ae7df1c /stun | |
parent | 287f8a8be697c59acf9700df78eb5070c93d151a (diff) | |
download | libnice-76f4aeaefef711c0727b9e9957d18c40c3142676.tar.gz |
Check error code 438 for TURN Nonce expired
Diffstat (limited to 'stun')
-rw-r--r-- | stun/stunagent.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stun/stunagent.c b/stun/stunagent.c index 72cc231..877a1f8 100644 --- a/stun/stunagent.c +++ b/stun/stunagent.c @@ -192,7 +192,7 @@ StunValidationStatus stun_agent_validate (StunAgent *agent, StunMessage *msg, (stun_message_get_class (msg) == STUN_ERROR && stun_message_find_error (msg, &error_code) == STUN_MESSAGE_RETURN_SUCCESS && - (error_code == 400 || error_code == 401)) || + (error_code == 400 || error_code == 401 || error_code == 438)) || (stun_message_get_class (msg) == STUN_INDICATION && (agent->usage_flags & STUN_AGENT_USAGE_LONG_TERM_CREDENTIALS || agent->usage_flags & STUN_AGENT_USAGE_NO_INDICATION_AUTH)); |