From f66f382d5e7dcb59db176a218892d36ed8f2d4e9 Mon Sep 17 00:00:00 2001 From: Brian West Date: Fri, 26 Mar 2010 16:23:49 +0000 Subject: [PATCH] Case insenstive matching for this and stricter matching git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@17112 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/endpoints/mod_sofia/sofia_reg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod/endpoints/mod_sofia/sofia_reg.c b/src/mod/endpoints/mod_sofia/sofia_reg.c index 2f903d14b4..676998c106 100644 --- a/src/mod/endpoints/mod_sofia/sofia_reg.c +++ b/src/mod/endpoints/mod_sofia/sofia_reg.c @@ -990,7 +990,7 @@ uint8_t sofia_reg_handle_register(nua_t *nua, sofia_profile_t *profile, nua_hand switch_snprintf(contact_str, sizeof(contact_str), "%s ", display, contact->m_url->url_user, url_ip, network_port, received_data); } - if (strstr(v_contact_str, "tls")) { + if (switch_stristr(v_contact_str, "transport=tls")) { reg_desc = "Registered(TLSHACK)"; } else { reg_desc = "Registered(AUTO-NAT)";