olsrd belongs into usr/sbin/ rather than usr/bin
[buildroot.git] / package / bind / bind-9.4.1-susv3-legacy.patch
blobc3c124721d972ada4b6e2af5d80d1b2956341e02
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
3 @@ -479,8 +479,8 @@
4 for (i = 0; i < 16; i++) {
5 unsigned char byte;
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;