packages/net/djbdns/patches/220-dnscacheip-space-separator.patch
markus 272c366e05 added djbdns patch provided by Johnny Halfmoon
removed dnsmasq.patch as the options were included upstream already.


git-svn-id: svn://svn.openwrt.org/openwrt/packages@15612 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-05 09:27:07 +00:00

12 lines
350 B
Diff

--- djbdns-1.05.original/dns_rcip.c 2001-02-11 21:11:45.000000000 +0000
+++ djbdns-1.05/dns_rcip.c 2003-11-03 14:55:10.000000000 +0000
@@ -17,7 +17,7 @@
x = env_get("DNSCACHEIP");
if (x)
while (iplen <= 60) {
- if (*x == '.')
+ if (*x == ' ' || *x == '\t' || *x == '\n')
++x;
else {
i = ip4_scan(x,ip + iplen);