dnsmasq: don't append search domain to custom host entries
authorJo-Philipp Wich <jow@openwrt.org>
Fri, 16 Apr 2010 19:09:05 +0000 (19:09 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Fri, 16 Apr 2010 19:09:05 +0000 (19:09 +0000)
SVN-Revision: 20935

package/dnsmasq/Makefile
package/dnsmasq/files/dnsmasq.init

index 895a5c29533054c7f551eee07632bbb28e8cbf8d..abf0962c37eebc5ed92eaa64cb75dae067b52b1e 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=dnsmasq
 PKG_VERSION:=2.52
-PKG_RELEASE:=2
+PKG_RELEASE:=3
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=http://thekelleys.org.uk/dnsmasq
index 4cd941cfd72d01e9a6d24f2c6d92b3babb38cfd3..47c4c2d2e6ceb855b6926829e5f02c10a82e8443 100644 (file)
@@ -296,9 +296,9 @@ dhcp_domain_add() {
        local raddr="${4:+$4.$3.$2.$1.in-addr.arpa}"
 
        for name in $names; do
-               append args "-A /$name${DOMAIN:+.$DOMAIN}/$ip"
+               append args "-A /$name/$ip"
                [ -n "$raddr" ] && \
-                       append args "--ptr-record=$raddr,$name${DOMAIN:+.$DOMAIN}"
+                       append args "--ptr-record=$raddr,$name"
        done
 }