aboutsummaryrefslogtreecommitdiffstats
path: root/package/dnsmasq/files
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2010-04-16 19:09:05 +0000
committerJo-Philipp Wich <jow@openwrt.org>2010-04-16 19:09:05 +0000
commitc876279bb2bbad7d21cfb7ea9185e7d4eb217e7f (patch)
treecb2edcff82fe8214aa348546a0d0b59b27876843 /package/dnsmasq/files
parent9fb0688893f90485776d693ed334da65f4529904 (diff)
downloadupstream-c876279bb2bbad7d21cfb7ea9185e7d4eb217e7f.tar.gz
upstream-c876279bb2bbad7d21cfb7ea9185e7d4eb217e7f.tar.bz2
upstream-c876279bb2bbad7d21cfb7ea9185e7d4eb217e7f.zip
dnsmasq: don't append search domain to custom host entries
SVN-Revision: 20935
Diffstat (limited to 'package/dnsmasq/files')
-rw-r--r--package/dnsmasq/files/dnsmasq.init4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/dnsmasq/files/dnsmasq.init b/package/dnsmasq/files/dnsmasq.init
index 4cd941cfd7..47c4c2d2e6 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
}