dnsmasq: While trying to document the dhcp UCI config, I noticed that the name config...
authorJo-Philipp Wich <jow@openwrt.org>
Sat, 26 Dec 2009 00:23:35 +0000 (00:23 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Sat, 26 Dec 2009 00:23:35 +0000 (00:23 +0000)
SVN-Revision: 18934

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

index 27f438c738577d5b462bc2b3a726bbe13fb58924..1441a196b49ed06194548b2378bed3d060df4979 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=dnsmasq
 PKG_VERSION:=2.51
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=http://thekelleys.org.uk/dnsmasq
index bc14aa6c4147ab7d283433bfc274068bbad45daa..3532dbd652c56c83cc3c94eb18f5c3a279158bca 100644 (file)
@@ -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() {