[packages] tor-alpha: update to 0.2.2.22-alpha, add archive mirror
[openwrt/svn-archive/archive.git] / net / djbdns / patches / 220-dnscacheip-space-separator.patch
1 --- a/dns_rcip.c
2 +++ b/dns_rcip.c
3 @@ -17,7 +17,7 @@ static int init(char ip[64])
4 x = env_get("DNSCACHEIP");
5 if (x)
6 while (iplen <= 60) {
7 - if (*x == '.')
8 + if (*x == ' ' || *x == '\t' || *x == '\n')
9 ++x;
10 else {
11 i = ip4_scan(x,ip + iplen);