]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
res_rtp_asterisk: Make the ICE transport check case insensitive as some implementatio...
authorJoshua Colp <jcolp@digium.com>
Sun, 12 Oct 2014 21:08:08 +0000 (21:08 +0000)
committerJoshua Colp <jcolp@digium.com>
Sun, 12 Oct 2014 21:08:08 +0000 (21:08 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/11@425360 65c4cc65-6c06-0410-ace0-fbb531ad65f3

res/res_rtp_asterisk.c

index 898bc895fa2a039200e9806c9155d4348b78d8bc..3b276505930d6754ed120bfc458c454de2930db2 100644 (file)
@@ -495,7 +495,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;
        }