From 219a6dab8995aad9ac4860cc1a84d6f3509a03a4 Mon Sep 17 00:00:00 2001 From: wbx Date: Sun, 17 May 2009 14:41:34 +0200 Subject: Initial import --- package/bind/patches/patch-lib_isc_unix_ifiter_ioctl_c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 package/bind/patches/patch-lib_isc_unix_ifiter_ioctl_c (limited to 'package/bind/patches') diff --git a/package/bind/patches/patch-lib_isc_unix_ifiter_ioctl_c b/package/bind/patches/patch-lib_isc_unix_ifiter_ioctl_c new file mode 100644 index 000000000..adb2aa906 --- /dev/null +++ b/package/bind/patches/patch-lib_isc_unix_ifiter_ioctl_c @@ -0,0 +1,14 @@ +$Id: update-patches 24 2008-08-31 14:56:13Z wbx $ +--- bind-9.4.1.orig/lib/isc/unix/ifiter_ioctl.c 2006-02-04 00:51:38.000000000 +0100 ++++ bind-9.4.1/lib/isc/unix/ifiter_ioctl.c 2008-10-08 14:56:12.000000000 +0200 +@@ -479,8 +479,8 @@ linux_if_inet6_current(isc_interfaceiter + for (i = 0; i < 16; i++) { + unsigned char byte; + static const char hex[] = "0123456789abcdef"; +- byte = ((index(hex, address[i * 2]) - hex) << 4) | +- (index(hex, address[i * 2 + 1]) - hex); ++ byte = ((strchr(hex, address[i * 2]) - hex) << 4) | ++ (strchr(hex, address[i * 2 + 1]) - hex); + addr6.s6_addr[i] = byte; + } + iter->current.af = AF_INET6; -- cgit v1.2.3