mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-29 13:38:26 +00:00
calling isc__nm_udp_send() on a non-udp socket is not 'unexpected', it's a critical failure
This commit is contained in:
parent
8d6dc8613a
commit
42f0e25a4c
@ -383,7 +383,8 @@ isc__nm_udp_send(isc_nmhandle_t *handle, isc_region_t *region,
|
||||
} else if (sock->type == isc_nm_udplistener) {
|
||||
psock = sock;
|
||||
} else {
|
||||
return (ISC_R_UNEXPECTED);
|
||||
INSIST(0);
|
||||
ISC_UNREACHABLE();
|
||||
}
|
||||
|
||||
if (!isc__nmsocket_active(sock)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user