dnsmasq: allow hostname assignment without static lease The attached patch for dnsmas...
authorJo-Philipp Wich <jow@openwrt.org>
Tue, 24 May 2011 09:12:50 +0000 (09:12 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Tue, 24 May 2011 09:12:50 +0000 (09:12 +0000)
commit50b69073d6b2fffe259f4c0b78fb35ab60f761c3
tree9184546f0c19e86af262075a99d7f07a1fe5e74e
parentbe906f6be55b890edc766a8826c8cc56f0732d8d
dnsmasq: allow hostname assignment without static lease The attached patch for dnsmasq.init allows to assign a hostname to a particular mac-address. It's useful to override the client supplied hostname, especially if the client does not supply a hostname at all.

It corresponds to the following example in dnsmasq.conf.example:

# Always set the name of the host with hardware address
# 11:22:33:44:55:66 to be "fred"
#dhcp-host=11:22:33:44:55:66,fred

Regards
Mathias

SVN-Revision: 26983
package/dnsmasq/Makefile
package/dnsmasq/files/dnsmasq.init