From: Joshua Colp Date: Sun, 12 Oct 2014 21:08:08 +0000 (+0000) Subject: res_rtp_asterisk: Make the ICE transport check case insensitive as some implementatio... X-Git-Tag: 11.14.0-rc1~31 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b69057cd76dbc18d9a6fd5ea1db97c16576da95f;p=thirdparty%2Fasterisk.git res_rtp_asterisk: Make the ICE transport check case insensitive as some implementations use 'udp'. git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/11@425360 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/res/res_rtp_asterisk.c b/res/res_rtp_asterisk.c index 898bc895fa..3b27650593 100644 --- a/res/res_rtp_asterisk.c +++ b/res/res_rtp_asterisk.c @@ -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; }