]> git.ipfire.org Git - thirdparty/bind9.git/commit
Honour the source-port when retrying in dns_dispatch
authorOndřej Surý <ondrej@isc.org>
Wed, 5 Apr 2023 13:28:32 +0000 (15:28 +0200)
committerOndřej Surý <ondrej@isc.org>
Thu, 20 Apr 2023 08:57:20 +0000 (10:57 +0200)
commitc8e8ccd0262283bede1340451be71a353dafd693
tree751dfda7239c51e230fbb2ba8b11e3cd9b9c0cad
parent25962dd188eeb9c8c19d72f69452a98941526c83
Honour the source-port when retrying in dns_dispatch

When retrying in the DNS dispatch, the local port would be forgotten on
ISC_R_ADDRINUSE, keep the configured source-port even when retrying.

Additionally, treat ISC_R_NOPERM same as ISC_R_ADDRINUSE.

Closes: #3986
lib/dns/dispatch.c