Added httping compile dependency as it now can be built with SSL support
[openwrt.git] / openwrt / package / dnsmasq / patches / 102-domain_wildcard_fix.patch
1 diff -urN dnsmasq.old/src/forward.c dnsmasq.dev/src/forward.c
2 --- dnsmasq.old/src/forward.c 2006-01-16 20:34:04.000000000 +0100
3 +++ dnsmasq.dev/src/forward.c 2006-02-05 04:41:37.148190000 +0100
4 @@ -164,7 +164,7 @@
5 if (namelen >= domainlen &&
6 hostname_isequal(matchstart, serv->domain) &&
7 domainlen >= matchlen &&
8 - (namelen == domainlen || *(serv->domain) == '.' || *(matchstart-1) == '.' ))
9 + (namelen == domainlen || *(serv->domain) == '.' || *(matchstart-1) == '.' || domainlen == 0))
10 {
11 unsigned short sflag = serv->addr.sa.sa_family == AF_INET ? F_IPV4 : F_IPV6;
12 *type = SERV_HAS_DOMAIN;
This page took 0.044712 seconds and 5 git commands to generate.