Skip to content

Commit

Permalink
core: dns cache condition for both proto ws and wss
Browse files Browse the repository at this point in the history
(cherry picked from commit 19f37c9)
  • Loading branch information
miconda committed Aug 30, 2017
1 parent ee77f90 commit ba15035
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/dns_cache.c
Expand Up @@ -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;
}
Expand Down

0 comments on commit ba15035

Please sign in to comment.