Updated to latest upstream version, remove uneeded patch as it is now in dnsmasq source code, closes #378

git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3386 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
Florian Fainelli 2006-03-16 21:31:14 +00:00
parent 12b1f6399d
commit 2a67e1bac2
2 changed files with 2 additions and 14 deletions

View File

@ -3,9 +3,9 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=dnsmasq
PKG_VERSION:=2.26
PKG_VERSION:=2.27
PKG_RELEASE:=1
PKG_MD5SUM:=ae04abb5db4a8cc43c24f432f0c44d5c
PKG_MD5SUM:=489198ec87101087043adc98bbe062dc
PKG_SOURCE_URL:=http://thekelleys.org.uk/dnsmasq
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz

View File

@ -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;