BIND 9.5.0 has a number of new features over 9.4, including: - GSS-TSIG support (RFC 3645). - DHCID support. - Experimental http server and statistics support for named via xml. - More detailed statistics counters including those supported in BIND 8. - Faster ACL processing. - Internal documentation generated by Doxygen. - Efficient LRU cache-cleaning mechanism. - NSID support (RFC 5001).
32 lines
844 B
Text
32 lines
844 B
Text
$NetBSD: patch-ab,v 1.1.1.1 2008/06/21 23:15:28 adrianp 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) {
|