$OpenBSD: patch-lib_isc_unix_socket_c,v 1.5 2017/05/03 20:20:42 sthen Exp $
--- lib/isc/unix/socket.c.orig	Fri Apr 14 04:54:11 2017
+++ lib/isc/unix/socket.c	Thu Apr 20 09:35:26 2017
@@ -2913,7 +2913,7 @@ opensocket(isc__socketmgr_t *manager, isc__socket_t *s
 		}
 #endif
 	}
-#ifdef IPV6_RECVTCLASS
+#if 0 /* pledge doesn't allow setsockopt IPV6_RECVTCLASS */
 	if ((sock->pf == AF_INET6)
 	    && (setsockopt(sock->fd, IPPROTO_IPV6, IPV6_RECVTCLASS,
 			   (void *)&on, sizeof(on)) < 0)) {
