diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2009-12-26 00:23:35 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2009-12-26 00:23:35 +0000 |
commit | 6a19e3eb173a835b4ab0e2cc63a31be5f979589e (patch) | |
tree | 53e7a7a38d36ea2428ff526f4817a2be18296374 /package/dnsmasq/files | |
parent | 182b9a7903f123876f34fb36d251418c711bed85 (diff) | |
download | upstream-6a19e3eb173a835b4ab0e2cc63a31be5f979589e.tar.gz upstream-6a19e3eb173a835b4ab0e2cc63a31be5f979589e.tar.bz2 upstream-6a19e3eb173a835b4ab0e2cc63a31be5f979589e.zip |
[package] dnsmasq:
While trying to document the dhcp UCI config, I noticed that the name config option is applied wrongly when adding static addresses. Cf. the dnsmasq man page.
Signed-off-by: Stefan Bethke <stb@lassitu.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18934 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/dnsmasq/files')
-rw-r--r-- | package/dnsmasq/files/dnsmasq.init | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/dnsmasq/files/dnsmasq.init b/package/dnsmasq/files/dnsmasq.init index bc14aa6c41..3532dbd652 100644 --- a/package/dnsmasq/files/dnsmasq.init +++ b/package/dnsmasq/files/dnsmasq.init @@ -180,7 +180,7 @@ dhcp_host_add() { config_get ip "$cfg" ip [ -n "$ip" ] || return 0 - append args "--dhcp-host=$mac,$ip${name:+,$name}" + append args "--dhcp-host=$mac,${name:+net:$name,}$ip" } dhcp_mac_add() { |