1 --- bind-9.4.1.oorig/lib/isc/unix/ifiter_ioctl.c 2006-02-04 00:51:38.000000000 +0100
2 +++ bind-9.4.1/lib/isc/unix/ifiter_ioctl.c 2007-10-13 17:30:47.000000000 +0200
4 for (i = 0; i < 16; i++) {
6 static const char hex[] = "0123456789abcdef";
7 - byte = ((index(hex, address[i * 2]) - hex) << 4) |
8 - (index(hex, address[i * 2 + 1]) - hex);
9 + byte = ((strchr(hex, address[i * 2]) - hex) << 4) |
10 + (strchr(hex, address[i * 2 + 1]) - hex);
11 addr6.s6_addr[i] = byte;
13 iter->current.af = AF_INET6;