Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/include Default to check-names for safety.



details:   https://anonhg.NetBSD.org/src/rev/4b663b2c1283
branches:  trunk
changeset: 378937:4b663b2c1283
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Apr 30 16:07:49 2021 +0000

description:
Default to check-names for safety.

diffstat:

 include/resolv.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 0a8440b45103 -r 4b663b2c1283 include/resolv.h
--- a/include/resolv.h  Fri Apr 30 15:37:05 2021 +0000
+++ b/include/resolv.h  Fri Apr 30 16:07:49 2021 +0000
@@ -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.



Home | Main Index | Thread Index | Old Index