mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-11 09:09:59 -04:00
do not listen on interfaces that are not marked 'up'
This commit is contained in:
parent
461a00bbde
commit
e55b792a68
1 changed files with 3 additions and 0 deletions
|
|
@ -481,6 +481,9 @@ do_ipv4(ns_interfacemgr_t *mgr) {
|
|||
if (interface.address.family != AF_INET)
|
||||
continue;
|
||||
|
||||
if ((interface.flags & INTERFACE_F_UP) == 0)
|
||||
continue;
|
||||
|
||||
for (le = ISC_LIST_HEAD(mgr->listenon->elts);
|
||||
le != NULL;
|
||||
le = ISC_LIST_NEXT(le, link))
|
||||
|
|
|
|||
Loading…
Reference in a new issue