Module: kamailio Branch: master Commit: 19f37c944748c72a7069a4fd5e3d8c6160a1e557 URL: https://github.com/kamailio/kamailio/commit/19f37c944748c72a7069a4fd5e3d8c61...
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: Daniel-Constantin Mierla miconda@gmail.com Date: 2017-07-15T09:25:44+02:00
core: dns cache condition for both proto ws and wss
---
Modified: src/core/dns_cache.c
---
Diff: https://github.com/kamailio/kamailio/commit/19f37c944748c72a7069a4fd5e3d8c61... Patch: https://github.com/kamailio/kamailio/commit/19f37c944748c72a7069a4fd5e3d8c61...
---
diff --git a/src/core/dns_cache.c b/src/core/dns_cache.c index 577eb48d1f..e37361ffbb 100644 --- a/src/core/dns_cache.c +++ b/src/core/dns_cache.c @@ -2668,7 +2668,7 @@ struct hostent* dns_srv_sip_resolvehost(str* name, unsigned short* port, return ip_addr2he(name,ip); }
- if(srv_proto==PROTO_WS || srv_proto==PROTO_WS) { + if(srv_proto==PROTO_WS || srv_proto==PROTO_WSS) { /* no srv records for web sockets */ return 0; }