diff --git a/lib/isc/netmgr/udp.c b/lib/isc/netmgr/udp.c index cb14425703..d4f27a7c36 100644 --- a/lib/isc/netmgr/udp.c +++ b/lib/isc/netmgr/udp.c @@ -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)) {