Subject: lib/25698: netdb.h brought in defines for unimplemented getipnodebyname()
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <gcw@primenet.com.au>
List: netbsd-bugs
Date: 05/25/2004 15:33:36
>Number:         25698
>Category:       lib
>Synopsis:       too much bind9 stuff imported into netdb.h
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    lib-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue May 25 05:34:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Geoff C. Wing
>Release:        NetBSD 2.0E (2004-05-25)
>Organization:
>Environment:
System: NetBSD g.primenet.com.au 2.0E NetBSD 2.0E (G) #0: Mon May 24 13:33:01 EST 2004 gcw@g.primenet.com.au:/usr/netbsd/src/sys/arch/i386/compile/G i386
Architecture: i386
Machine: i386
>Description:
	<netdb.h> provides flags for getipnodebyname(): AI_V4MAPPED,
	AI_ALL, AI_ADDRCONFIG & AI_DEFAULT
	The ntp build #ifdef's on one of these flags, viz. AI_ADDRCONFIG,
	to alter how it builds ntpdc and ntpq

	PS. what category should this (relevant to a general header) be in?
>How-To-Repeat:
	Run "ntpq -p" and see a new error/warning message
>Fix:
	#if 0 or remove that section, at least until getipnodebyname() is
	implemented (if ever)
>Release-Note:
>Audit-Trail:
>Unformatted: