mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 06:25:31 +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:
@@ -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)) {
|
||||
|
Reference in New Issue
Block a user