diff options
Diffstat (limited to 'package/dnsmasq/patches')
-rw-r--r-- | package/dnsmasq/patches/102-domain_wildcard_fix.patch | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/package/dnsmasq/patches/102-domain_wildcard_fix.patch b/package/dnsmasq/patches/102-domain_wildcard_fix.patch deleted file mode 100644 index 041cd67cf..000000000 --- a/package/dnsmasq/patches/102-domain_wildcard_fix.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -urN dnsmasq.old/src/forward.c dnsmasq.dev/src/forward.c ---- dnsmasq.old/src/forward.c 2006-01-16 20:34:04.000000000 +0100 -+++ dnsmasq.dev/src/forward.c 2006-02-05 04:41:37.148190000 +0100 -@@ -164,7 +164,7 @@ - if (namelen >= domainlen && - hostname_isequal(matchstart, serv->domain) && - domainlen >= matchlen && -- (namelen == domainlen || *(serv->domain) == '.' || *(matchstart-1) == '.' )) -+ (namelen == domainlen || *(serv->domain) == '.' || *(matchstart-1) == '.' || domainlen == 0)) - { - unsigned short sflag = serv->addr.sa.sa_family == AF_INET ? F_IPV4 : F_IPV6; - *type = SERV_HAS_DOMAIN; |