diff options
| author | 2019-12-16 17:33:13 +0000 | |
|---|---|---|
| committer | 2019-12-16 17:33:13 +0000 | |
| commit | cb7f576b6152bd6322535847476239a531988307 (patch) | |
| tree | 11449bcb46b653694fc2761e55995894f5ecc2ac /usr.sbin/bind/lib/isc/unix/net.c | |
| parent | pledge +inet until the try_proto() garbage is neutered (diff) | |
| download | wireguard-openbsd-cb7f576b6152bd6322535847476239a531988307.tar.xz wireguard-openbsd-cb7f576b6152bd6322535847476239a531988307.zip | |
disable IP_RECVTOS below try_proto() also
Diffstat (limited to 'usr.sbin/bind/lib/isc/unix/net.c')
| -rw-r--r-- | usr.sbin/bind/lib/isc/unix/net.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/bind/lib/isc/unix/net.c b/usr.sbin/bind/lib/isc/unix/net.c index 2f8549f4b15..24c70380792 100644 --- a/usr.sbin/bind/lib/isc/unix/net.c +++ b/usr.sbin/bind/lib/isc/unix/net.c @@ -15,7 +15,7 @@ * PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: net.c,v 1.3 2019/12/16 16:16:27 deraadt Exp $ */ +/* $Id: net.c,v 1.4 2019/12/16 17:33:13 deraadt Exp $ */ #include <config.h> @@ -667,7 +667,7 @@ try_dscp_v4(void) { if (setsockopt(s, IPPROTO_IP, IP_TOS, &dscp, sizeof(dscp)) == 0) dscp_result |= ISC_NET_DSCPSETV4; -#ifdef IP_RECVTOS +#if 0 && defined(IP_RECVTOS) on = 1; if (setsockopt(s, IPPROTO_IP, IP_RECVTOS, &on, sizeof(on)) == 0) dscp_result |= ISC_NET_DSCPRECVV4; |
