mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-28 04:34:54 -04:00
check for invalid protocol when dispatch fails
treat ISC_R_INVALIDPROTO as a networking error when it occurs.
(cherry picked from commit 2269a3e6fb)
This commit is contained in:
parent
2a714c25f8
commit
960e4dadd2
1 changed files with 1 additions and 0 deletions
|
|
@ -8178,6 +8178,7 @@ rctx_dispfail(respctx_t *rctx) {
|
|||
case ISC_R_NETUNREACH:
|
||||
case ISC_R_CONNREFUSED:
|
||||
case ISC_R_CONNECTIONRESET:
|
||||
case ISC_R_INVALIDPROTO:
|
||||
case ISC_R_CANCELED:
|
||||
case ISC_R_SHUTTINGDOWN:
|
||||
rctx->broken_server = rctx->result;
|
||||
|
|
|
|||
Loading…
Reference in a new issue