ns_interfacemgr_t listenon queue set incorrectly
Summary
ns_interfacemgr_t listenon queue set incorrectly
BIND version used
master branch
Steps to reproduce
- config named.conf like below options { ... listen-on port 53 { 127.0.0.1; }; listen-on port 10053 { 127.0.0.1; }; ... }
- then start the named process
- run "netstat -lpn|grep named" found the 53 and 10053 has already listened.
- the ns_interfacemgr_t has a listenon queue struct ns_interfacemgr { ... ISC_LIST(isc_sockaddr_t) listenon; .... }
- I dump the listenon queue, found that there is only 127.0.0.1#53, 127.0.0.1#10053 is not in the listenon queue.
What is the current bug behavior?
I think this behavior maybe a bug,
What is the expected correct behavior?
the listenon should contain 127.0.0.1#53 and 127.0.0.1#10053
Relevant configuration files
options { ... listen-on port 53 { 127.0.0.1; }; listen-on port 10053 { 127.0.0.1; }; ... }
Relevant logs and/or screenshots
(Paste any relevant logs - please use code blocks (```) to format console output, logs, and code, as it's very hard to read otherwise.)
Possible fixes
(If you can, link to the line of code that might be responsible for the problem.)