dnsmasq: don't append search domain to custom host entries

SVN-Revision: 20935
This commit is contained in:
Jo-Philipp Wich 2010-04-16 19:09:05 +00:00
parent 9fb0688893
commit c876279bb2
2 changed files with 3 additions and 3 deletions

View file

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=dnsmasq PKG_NAME:=dnsmasq
PKG_VERSION:=2.52 PKG_VERSION:=2.52
PKG_RELEASE:=2 PKG_RELEASE:=3
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://thekelleys.org.uk/dnsmasq PKG_SOURCE_URL:=http://thekelleys.org.uk/dnsmasq

View file

@ -296,9 +296,9 @@ dhcp_domain_add() {
local raddr="${4:+$4.$3.$2.$1.in-addr.arpa}" local raddr="${4:+$4.$3.$2.$1.in-addr.arpa}"
for name in $names; do for name in $names; do
append args "-A /$name${DOMAIN:+.$DOMAIN}/$ip" append args "-A /$name/$ip"
[ -n "$raddr" ] && \ [ -n "$raddr" ] && \
append args "--ptr-record=$raddr,$name${DOMAIN:+.$DOMAIN}" append args "--ptr-record=$raddr,$name"
done done
} }