[PATCH] dnsmasq: allow hostname assignment without static lease
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 24 May 2011 09:12:50 +0000 (09:12 +0000)
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 24 May 2011 09:12:50 +0000 (09:12 +0000)
commit2a521b9016b262e9bafb9d2da24e153fce9597a8
tree2308d97069c104c7113c879bb44122f42100da2c
parent36715e604fe79a20de2969ef9266540dac88d837
[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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26983 3c298f89-4303-0410-b956-a3cf2f4a3e73
package/dnsmasq/Makefile
package/dnsmasq/files/dnsmasq.init