mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-13 16:59:59 -04:00
comment about ifs scan twice the first time
Add comment message about why we're scanning interfaces twice during the initial configuration (FreeBSD compatibility). See #3583
This commit is contained in:
parent
3fe239e5cf
commit
17a2cbcbc5
1 changed files with 6 additions and 0 deletions
|
|
@ -8696,6 +8696,12 @@ apply_configuration(cfg_parser_t *configparser, cfg_obj_t *config,
|
|||
* Rescan the interface list to pick up changes in the
|
||||
* listen-on option. This requires the loopmgr to be
|
||||
* temporarily resumed.
|
||||
*
|
||||
* The reason we're doing this the first time (instead of having
|
||||
* only one scan later) is because we're are dropping root
|
||||
* privileges shortly after and FreeBSD doesn't have Linux
|
||||
* capabilities so can't listen to a privileged port without
|
||||
* being root.
|
||||
*/
|
||||
isc_loopmgr_resume();
|
||||
result = ns_interfacemgr_scan(server->interfacemgr, true, true);
|
||||
|
|
|
|||
Loading…
Reference in a new issue