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>

SVN-Revision: 18934
v19.07.3_mercusys_ac12_duma
Jo-Philipp Wich 15 years ago
parent 371e7aa521
commit 2a83e90ceb

@ -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

@ -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() {

Loading…
Cancel
Save