mirror of https://github.com/hak5/openwrt.git
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: 18934lede-17.01
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…
Reference in New Issue