]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
typo
authorAnthony Minessale <anthm@freeswitch.org>
Mon, 23 Jul 2012 18:20:06 +0000 (13:20 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Mon, 23 Jul 2012 18:20:06 +0000 (13:20 -0500)
src/mod/endpoints/mod_sofia/sofia_glue.c

index dd8a365f88f58c7e120aecd51df669fd521be22e..54221aef31604a51854caee994c390ad710defe2 100644 (file)
@@ -4832,7 +4832,7 @@ uint8_t sofia_glue_negotiate_sdp(switch_core_session_t *session, const char *r_s
                                        int crypto_tag;
 
                                        if (!(tech_pvt->profile->ndlb & PFLAG_NDLB_ALLOW_CRYPTO_IN_AVP) && 
-                                               !switch_true(switch_channel_get_variable(tech_pvt->channel, "sip_allow_crypto_in_sdp"))) {
+                                               !switch_true(switch_channel_get_variable(tech_pvt->channel, "sip_allow_crypto_in_avp"))) {
                                                if (m->m_proto != sdp_proto_srtp) {
                                                        switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_ERROR, "a=crypto in RTP/AVP, refer to rfc3711\n");
                                                        match = 0;