Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Feb 2009 18:32:28 +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-6@freebsd.org
Subject:   svn commit: r188691 - in stable/6/lib/libc: . inet net sys
Message-ID:  <200902161832.n1GIWSpr080358@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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),



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