summaryrefslogtreecommitdiffstats
path: root/usr.sbin/bind/lib/isc/unix/net.c
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2019-12-16 17:35:38 +0000
committerderaadt <deraadt@openbsd.org>2019-12-16 17:35:38 +0000
commit1d63d38267c3a8ae203ec4ff26255cb65beb0d80 (patch)
treec5cbe7f442abe91eaa0d6b771d02ecd9c36a00a6 /usr.sbin/bind/lib/isc/unix/net.c
parentdisable IP_RECVTOS below try_proto() also (diff)
downloadwireguard-openbsd-1d63d38267c3a8ae203ec4ff26255cb65beb0d80.tar.xz
wireguard-openbsd-1d63d38267c3a8ae203ec4ff26255cb65beb0d80.zip
knock out some unused variable warnings
Diffstat (limited to 'usr.sbin/bind/lib/isc/unix/net.c')
-rw-r--r--usr.sbin/bind/lib/isc/unix/net.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/bind/lib/isc/unix/net.c b/usr.sbin/bind/lib/isc/unix/net.c
index 24c70380792..8a732aabd05 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.4 2019/12/16 17:33:13 deraadt Exp $ */
+/* $Id: net.c,v 1.5 2019/12/16 17:35:38 deraadt Exp $ */
#include <config.h>
@@ -631,7 +631,7 @@ try_dscp_v4(void) {
char strbuf[ISC_STRERRORSIZE];
struct addrinfo hints, *res0;
int s, dscp = 0, n;
-#ifdef IP_RECVTOS
+#if 0 && defined(IP_RECVTOS)
int on = 1;
#endif /* IP_RECVTOS */
@@ -696,7 +696,7 @@ try_dscp_v6(void) {
char strbuf[ISC_STRERRORSIZE];
struct addrinfo hints, *res0;
int s, dscp = 0, n;
-#if defined(IPV6_RECVTCLASS)
+#if 0 && defined(IPV6_RECVTCLASS)
int on = 1;
#endif /* IPV6_RECVTCLASS */