mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-28 04:34:54 -04:00
Merge branch '2902-fix-httpport' into 'main'
use named_g_httpport correctly when creating listeners Closes #2902 See merge request isc-projects/bind9!5397
This commit is contained in:
commit
6077080f12
1 changed files with 1 additions and 1 deletions
|
|
@ -11107,7 +11107,7 @@ listenelt_fromconfig(const cfg_obj_t *listener, const cfg_obj_t *config,
|
|||
}
|
||||
} else if (http && !do_tls) {
|
||||
if (named_g_httpport != 0) {
|
||||
port = named_g_port;
|
||||
port = named_g_httpport;
|
||||
} else {
|
||||
result = named_config_getport(
|
||||
config, "http-port", &port);
|
||||
|
|
|
|||
Loading…
Reference in a new issue