mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 14:35:26 +00:00
use named_g_httpport correctly when creating listeners
when the default http port was set on the command line, it was not used correctly by listeners. [GL #2902]
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user