[PATCH] dnsmasq: allow hostname assignment without static lease
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)
commit28d2ca0d7e70a3b306a6066a61fce1bf57a0c817
tree2308d97069c104c7113c879bb44122f42100da2c
parentb1c7534864bba3b634fc731a3c9e81ab4e567b5c
[PATCH] 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