projects
/
packages.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
d3ad8a3013949faa94bacd6c760b919e8de139f2
[packages.git]
/
net
/
djbdns
/
patches
/
220-dnscacheip-space-separator.patch
1
--- djbdns-1.05.original/dns_rcip.c 2001-02-11 21:11:45.000000000 +0000
2
+++ djbdns-1.05/dns_rcip.c 2003-11-03 14:55:10.000000000 +0000
3
@@ -17,7 +17,7 @@
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);