summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Colp <jcolp@digium.com>2014-10-12 21:09:49 +0000
committerJoshua Colp <jcolp@digium.com>2014-10-12 21:09:49 +0000
commit8d6f1d763c69b0ebf04784e89d1cde8e1ac0acda (patch)
tree110ec1755bea219a993f22ca1660a397f52df8be
parent9e72c74db50025a0b7c6795c34fcf94baabe00ac (diff)
res_rtp_asterisk: Make the ICE transport check case insensitive as some implementations use 'udp'.
........ Merged revisions 425360 from http://svn.asterisk.org/svn/asterisk/branches/11 ........ Merged revisions 425361 from http://svn.asterisk.org/svn/asterisk/branches/12 ........ Merged revisions 425362 from http://svn.asterisk.org/svn/asterisk/branches/13 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@425363 65c4cc65-6c06-0410-ace0-fbb531ad65f3
-rw-r--r--res/res_rtp_asterisk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/res/res_rtp_asterisk.c b/res/res_rtp_asterisk.c
index 3d2a66cde..0c52ce2ad 100644
--- a/res/res_rtp_asterisk.c
+++ b/res/res_rtp_asterisk.c
@@ -522,7 +522,7 @@ static void ast_rtp_ice_add_remote_candidate(struct ast_rtp_instance *instance,
struct ast_rtp_engine_ice_candidate *remote_candidate;
/* ICE sessions only support UDP candidates */
- if (strcmp(candidate->transport, "UDP")) {
+ if (strcasecmp(candidate->transport, "udp")) {
return;
}