From f1602634ad817eb03bf7873641ed3c2bfa7223f6 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Tue, 21 Sep 2004 19:55:00 +0000 Subject: nginx-0.0.11-2004-09-21-23:55:00 import --- src/http/ngx_http_core_module.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/http') diff --git a/src/http/ngx_http_core_module.c b/src/http/ngx_http_core_module.c index b345b2a7a..06f1565a0 100644 --- a/src/http/ngx_http_core_module.c +++ b/src/http/ngx_http_core_module.c @@ -1543,6 +1543,8 @@ static char *ngx_set_listen(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) return NGX_CONF_OK; } + ls->port = port; + ls->addr = inet_addr((const char *) addr); if (ls->addr == INADDR_NONE) { h = gethostbyname((const char *) addr); -- cgit