Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Feb 2009 18:24:49 +0000 (UTC)
From:      Hajimu UMEMOTO <ume@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org
Subject:   svn commit: r188690 - in stable/7/lib/libc: . net string
Message-ID:  <200902161824.n1GIOnO3079452@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ume
Date: Mon Feb 16 18:24:48 2009
New Revision: 188690
URL: http://svn.freebsd.org/changeset/base/188690

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/7/lib/libc/   (props changed)
  stable/7/lib/libc/net/getaddrinfo.c
  stable/7/lib/libc/net/gethostbydns.c
  stable/7/lib/libc/string/ffsll.c   (props changed)
  stable/7/lib/libc/string/flsll.c   (props changed)

Modified: stable/7/lib/libc/net/getaddrinfo.c
==============================================================================
--- stable/7/lib/libc/net/getaddrinfo.c	Mon Feb 16 18:07:23 2009	(r188689)
+++ stable/7/lib/libc/net/getaddrinfo.c	Mon Feb 16 18:24:48 2009	(r188690)
@@ -1884,7 +1884,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/7/lib/libc/net/gethostbydns.c
==============================================================================
--- stable/7/lib/libc/net/gethostbydns.c	Mon Feb 16 18:07:23 2009	(r188689)
+++ stable/7/lib/libc/net/gethostbydns.c	Mon Feb 16 18:24:48 2009	(r188690)
@@ -294,7 +294,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),



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200902161824.n1GIOnO3079452>