summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2021-04-30 16:07:49 +0000
committerchristos <christos@NetBSD.org>2021-04-30 16:07:49 +0000
commite54a0531e4b16a8d19597823a9725fe61c28b353 (patch)
treed021f346525fe04b0403c90c32fde3d805a83a5c /include
parente650fc39498d12e8a6e26f300d261a7ffc080044 (diff)
Default to check-names for safety.
Diffstat (limited to 'include')
-rw-r--r--include/resolv.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/resolv.h b/include/resolv.h
index 77363419d00..3776b688e37 100644
--- a/include/resolv.h
+++ b/include/resolv.h
@@ -1,4 +1,4 @@
-/* $NetBSD: resolv.h,v 1.40 2012/11/07 15:45:24 christos Exp $ */
+/* $NetBSD: resolv.h,v 1.41 2021/04/30 16:07:49 christos Exp $ */
/*
* Portions Copyright (C) 2004, 2005, 2008, 2009 Internet Systems Consortium, Inc. ("ISC")
@@ -257,7 +257,7 @@ union res_sockaddr_union {
#define RES_NO_NIBBLE2 0x80000000 /*%< disable alternate nibble lookup */
#define RES_DEFAULT (RES_RECURSE | RES_DEFNAMES | \
- RES_DNSRCH | RES_NO_NIBBLE2 | RES_NOCHECKNAME)
+ RES_DNSRCH | RES_NO_NIBBLE2)
/*%
* Resolver "pfcode" values. Used by dig.