Skip to content
Snippets Groups Projects
Commit ef1e0a65 authored by zuul's avatar zuul Committed by Gerrit Code Review
Browse files

Merge "http: leverage 'bindaddr' for TLS in http.conf"

parents 11caa10c f72ffc1f
No related branches found
No related tags found
No related merge requests found
......@@ -2220,7 +2220,7 @@ static int __ast_http_load(int reload)
* the non-TLS bindaddress here.
*/
if (ast_sockaddr_isnull(&https_desc.local_address) && http_desc.accept_fd != -1) {
ast_sockaddr_copy(&https_desc.local_address, &https_desc.local_address);
ast_sockaddr_copy(&https_desc.local_address, &http_desc.local_address);
/* Of course, we can't use the same port though.
* Since no bind address was specified, we just use the
* default TLS port
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment