From owner-svn-src-all@FreeBSD.ORG Mon Feb 16 18:32:28 2009 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B0F1C1065839; Mon, 16 Feb 2009 18:32:28 +0000 (UTC) (envelope-from ume@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 901EF8FC16; Mon, 16 Feb 2009 18:32:28 +0000 (UTC) (envelope-from ume@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n1GIWSHP080360; Mon, 16 Feb 2009 18:32:28 GMT (envelope-from ume@svn.freebsd.org) Received: (from ume@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n1GIWSpr080358; Mon, 16 Feb 2009 18:32:28 GMT (envelope-from ume@svn.freebsd.org) Message-Id: <200902161832.n1GIWSpr080358@svn.freebsd.org> From: Hajimu UMEMOTO Date: Mon, 16 Feb 2009 18:32:28 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-6@freebsd.org X-SVN-Group: stable-6 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r188691 - in stable/6/lib/libc: . inet net sys X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Feb 2009 18:32:34 -0000 Author: ume Date: Mon Feb 16 18:32:28 2009 New Revision: 188691 URL: http://svn.freebsd.org/changeset/base/188691 Log: MFH 188316: Shutup warning for DNAME RR. PR: bin/127591 Submitted by: "Eugene M. Kim" <20080111.freebsd.org__at__ab.ote.we.lv> Modified: stable/6/lib/libc/ (props changed) stable/6/lib/libc/inet/inet_net_pton.c (props changed) stable/6/lib/libc/net/getaddrinfo.c stable/6/lib/libc/net/gethostbydns.c stable/6/lib/libc/sys/ (props changed) Modified: stable/6/lib/libc/net/getaddrinfo.c ============================================================================== --- stable/6/lib/libc/net/getaddrinfo.c Mon Feb 16 18:24:48 2009 (r188690) +++ stable/6/lib/libc/net/getaddrinfo.c Mon Feb 16 18:32:28 2009 (r188691) @@ -1686,7 +1686,8 @@ getanswer(const querybuf *answer, int an } } else if (type != qtype) { #ifdef DEBUG - if (type != T_KEY && type != T_SIG) + if (type != T_KEY && type != T_SIG && + type != ns_t_dname) syslog(LOG_NOTICE|LOG_AUTH, "gethostby*.getanswer: asked for \"%s %s %s\", got type \"%s\"", qname, p_class(C_IN), p_type(qtype), Modified: stable/6/lib/libc/net/gethostbydns.c ============================================================================== --- stable/6/lib/libc/net/gethostbydns.c Mon Feb 16 18:24:48 2009 (r188690) +++ stable/6/lib/libc/net/gethostbydns.c Mon Feb 16 18:32:28 2009 (r188691) @@ -298,7 +298,7 @@ gethostanswer(const querybuf *answer, in continue; } if (type != qtype) { - if (type != T_SIG) + if (type != T_SIG && type != ns_t_dname) syslog(LOG_NOTICE|LOG_AUTH, "gethostby*.gethostanswer: asked for \"%s %s %s\", got type \"%s\"", qname, p_class(C_IN), p_type(qtype),