From 9563033de3f5b5aa942f7de452db9acff6aafdec Mon Sep 17 00:00:00 2001 From: jow Date: Fri, 16 Apr 2010 19:09:05 +0000 Subject: [package] dnsmasq: don't append search domain to custom host entries git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20935 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/dnsmasq/files/dnsmasq.init | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'package/dnsmasq/files') diff --git a/package/dnsmasq/files/dnsmasq.init b/package/dnsmasq/files/dnsmasq.init index 4cd941cfd..47c4c2d2e 100644 --- a/package/dnsmasq/files/dnsmasq.init +++ b/package/dnsmasq/files/dnsmasq.init @@ -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 } -- cgit v1.2.3