From 464b09a8043e61fb713bd090aac63bf869985248 Mon Sep 17 00:00:00 2001
From: Evan Hunt <each@isc.org>
Date: Wed, 12 Jan 2022 10:43:18 -0800
Subject: [PATCH] add UV_ENOTSUP to isc___nm_uverr2result()

This error code is now mapped to ISC_R_FAMILYNOSUPPORT.

(cherry picked from commit be0bc24c7f7b22d6e42bc73e3c0c978ca3ae3af3)
Conflict: NA
Reference: https://gitlab.isc.org/isc-projects/bind9/-/commit/464b09a8043e61fb713bd090aac63bf869985248
---
 lib/isc/netmgr/uverr2result.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lib/isc/netmgr/uverr2result.c b/lib/isc/netmgr/uverr2result.c
index 2a1de20954..5ce953d729 100644
--- a/lib/isc/netmgr/uverr2result.c
+++ b/lib/isc/netmgr/uverr2result.c
@@ -89,6 +89,8 @@ isc___nm_uverr2result(int uverr, bool dolog, const char *file,
 		return (ISC_R_EOF);
 	case UV_EMSGSIZE:
 		return (ISC_R_MAXSIZE);
+	case UV_ENOTSUP:
+		return (ISC_R_FAMILYNOSUPPORT);
 	default:
 		if (dolog) {
 			UNEXPECTED_ERROR(
-- 
2.23.0

