check for invalid protocol when dispatch fails

treat ISC_R_INVALIDPROTO as a networking error when it occurs.
This commit is contained in:
Evan Hunt
2023-04-05 14:05:46 -07:00
committed by Ondřej Surý
parent 0393b54afb
commit 2269a3e6fb

View File

@@ -7791,6 +7791,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;