diff options
author | Joshua Colp <jcolp@digium.com> | 2017-03-01 18:25:33 -0600 |
---|---|---|
committer | Gerrit Code Review <gerrit2@gerrit.digium.api> | 2017-03-01 18:25:33 -0600 |
commit | 75ebd8f0d2cdd146ab071391334ec7106ff29e94 (patch) | |
tree | af96088eacb0cd2b5bb84b7a7f777698b37b86c6 /res/res_pjsip | |
parent | 65a025e9fa3053bfa8fc927f346450893659ba3b (diff) | |
parent | e510595c868c58eea6213f727156ea7d05141428 (diff) |
Merge "res_pjsip WebRTC/websockets: Fix usage of WS vs WSS." into 13
Diffstat (limited to 'res/res_pjsip')
-rw-r--r-- | res/res_pjsip/security_events.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/res/res_pjsip/security_events.c b/res/res_pjsip/security_events.c index 5c30e1c5e..ef3a748b2 100644 --- a/res/res_pjsip/security_events.c +++ b/res/res_pjsip/security_events.c @@ -44,9 +44,9 @@ static enum ast_transport security_event_get_transport(pjsip_rx_data *rdata) } else if (rdata->tp_info.transport->key.type == PJSIP_TRANSPORT_TLS || rdata->tp_info.transport->key.type == PJSIP_TRANSPORT_TLS6) { return AST_TRANSPORT_TLS; - } else if (!strcmp(rdata->tp_info.transport->type_name, "WS")) { + } else if (!strcasecmp(rdata->tp_info.transport->type_name, "WS")) { return AST_TRANSPORT_WS; - } else if (!strcmp(rdata->tp_info.transport->type_name, "WSS")) { + } else if (!strcasecmp(rdata->tp_info.transport->type_name, "WSS")) { return AST_TRANSPORT_WSS; } else { return 0; |