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
This commit is contained in:
parent
371e7aa521
commit
2a83e90ceb
2 changed files with 2 additions and 2 deletions
|
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=dnsmasq
|
PKG_NAME:=dnsmasq
|
||||||
PKG_VERSION:=2.51
|
PKG_VERSION:=2.51
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=2
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:=http://thekelleys.org.uk/dnsmasq
|
PKG_SOURCE_URL:=http://thekelleys.org.uk/dnsmasq
|
||||||
|
|
|
@ -180,7 +180,7 @@ dhcp_host_add() {
|
||||||
config_get ip "$cfg" ip
|
config_get ip "$cfg" ip
|
||||||
[ -n "$ip" ] || return 0
|
[ -n "$ip" ] || return 0
|
||||||
|
|
||||||
append args "--dhcp-host=$mac,$ip${name:+,$name}"
|
append args "--dhcp-host=$mac,${name:+net:$name,}$ip"
|
||||||
}
|
}
|
||||||
|
|
||||||
dhcp_mac_add() {
|
dhcp_mac_add() {
|
||||||
|
|
Loading…
Reference in a new issue