]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
fix auto-select of wan.auto when no candidates defined
authorAnthony Minessale <anthm@freeswitch.org>
Tue, 12 Feb 2013 03:25:54 +0000 (21:25 -0600)
committerAnthony Minessale <anthm@freeswitch.org>
Mon, 1 Apr 2013 02:27:25 +0000 (21:27 -0500)
src/switch_core_media.c

index 25cba4de1d46bd46aad9e392d358a9d1e632eb27..26516af017bdbb645cbf30c10d71ccf3f0f43e0a 100644 (file)
@@ -1853,7 +1853,6 @@ static void check_ice(switch_media_handle_t *smh, switch_media_type_t type, sdp_
                        if (!engine->cand_acl_count) {
                                engine->cand_acl[engine->cand_acl_count++] = "wan.auto";
                                switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(smh->session), SWITCH_LOG_WARNING, "NO candidate ACL defined, Defaulting to wan.auto\n");
-                               goto end;
                        }
 
 
@@ -1969,8 +1968,6 @@ static void check_ice(switch_media_handle_t *smh, switch_media_type_t type, sdp_
        }
 
 
- end:
-
        if (!got_rtcp_mux) {
                engine->rtcp_mux = -1;
        }