a4caaa600c
- DNSSEC is now DS based (RFC 3658). See also RFC 3845, doc/draft/draft-ietf-dnsext-dnssec-*. - DNSSEC lookaside validation. - check-names is now implemented. - rrset-order in more complete. - IPv4/IPv6 transition support, dual-stack-servers. - IXFR deltas can now be generated when loading master files, ixfr-from-differences. - It is now possible to specify the size of a journal, max-journal-size. - It is now possible to define a named set of master servers to be used in masters clause, masters. - The advertised EDNS UDP size can now be set, edns-udp-size. allow-v6-synthesis has been obsoleted. NOTE: * Zones containing MD and MF will now be rejected. * dig, nslookup name. now report "Not Implemented" as NOTIMP rather than NOTIMPL. This will have impact on scripts that are looking for NOTIMPL. - libbind: corresponds to that from BIND 8.4.5.
32 lines
837 B
Text
32 lines
837 B
Text
$NetBSD: patch-ab,v 1.8 2004/10/03 09:20:41 tron Exp $
|
|
|
|
--- lib/lwres/getnameinfo.c.orig 2004-08-28 08:25:24.000000000 +0200
|
|
+++ lib/lwres/getnameinfo.c 2004-10-03 08:56:21.000000000 +0200
|
|
@@ -63,6 +63,10 @@
|
|
#include <lwres/netdb.h>
|
|
#include "print_p.h"
|
|
|
|
+#ifdef __KAME__
|
|
+#include <net/if.h>
|
|
+#endif
|
|
+
|
|
#include "assert_p.h"
|
|
|
|
#define SUCCESS 0
|
|
@@ -211,13 +215,10 @@
|
|
((const struct sockaddr_in6 *)sa)->sin6_scope_id) {
|
|
char *p = numaddr + strlen(numaddr);
|
|
const char *stringscope = NULL;
|
|
-#if 0
|
|
+#ifdef __KAME__
|
|
if ((flags & NI_NUMERICSCOPE) == 0) {
|
|
- /*
|
|
- * Vendors may want to add support for
|
|
- * non-numeric scope identifier.
|
|
- */
|
|
- stringscope = foo;
|
|
+ stringscope = if_indextoname(
|
|
+ ((const struct sockaddr_in6 *)sa)->sin6_scope_id);
|
|
}
|
|
#endif
|
|
if (stringscope == NULL) {
|