res_rtp_asterisk: Make the ICE transport check case insensitive as some implementatio...
authorJoshua Colp <jcolp@digium.com>
Sun, 12 Oct 2014 21:09:49 +0000 (21:09 +0000)
committerJoshua Colp <jcolp@digium.com>
Sun, 12 Oct 2014 21:09:49 +0000 (21:09 +0000)
........

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

res/res_rtp_asterisk.c

index 3d2a66c..0c52ce2 100644 (file)
@@ -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;
        }