Openwrt/package/network/services
John Crispin b5bfb3534b dnsmasq: add host-specific lease time option for static hosts
Enable setting a host-specific lease time for static hosts.
The new option is called "leasetime" and the format is similar
as for the default lease time: e.g. 12h, 3d, infinite

Default lease time is used for all hosts for which there is
no host-specific definition.

The option is added to /etc/config/dhcp for the selected hosts:
  config host
        option name 'Nexus'
        option mac 'd8:50:66:55:59:7c'
        option ip '192.168.1.245'
        option leasetime '2h'

It gets appended to /var/etc/dnsmasq.conf like this:
  dhcp-host=d8:50:66:55:59:7c,192.168.1.245,Nexus,2h

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>

SVN-Revision: 48801
2016-02-26 09:13:03 +00:00
..
authsae authsae: Use kbit/s as mcast_rate unit like wpad 2015-11-24 18:28:35 +00:00
dnsmasq dnsmasq: add host-specific lease time option for static hosts 2016-02-26 09:13:03 +00:00
dropbear dropbear: honor CONFIG_TARGET_INIT_PATH 2016-02-08 14:28:57 +00:00
ead cosmetic: remove trailing whitespaces 2015-10-15 22:12:13 +00:00
hostapd hostapd: remove useless TLS provider selection override for wpad-mesh/wpa_supplicant-mesh 2016-01-28 22:42:14 +00:00
igmpproxy igmpproxy: fix spurious restarts on interface events, pass used netdevs to procd instead 2015-09-26 23:27:23 +00:00
ipset-dns
lldpd lldp: Upgrade to 0.9.0 2016-02-18 08:22:07 +00:00
mdns packages: use OPENWRT_GIT to point at the main openwrt git repo 2016-01-04 15:11:49 +00:00
odhcpd odhcpd: correctly handle netlink congestion case 2015-11-19 11:49:21 +00:00
omcproxy omcproxy: fix PKG_LICENSE string 2015-10-26 09:01:48 +00:00
openvpn openvpn: update to version 2.3.10 2016-01-11 18:37:28 +00:00
openvpn-easy-rsa
ppp
relayd relayd: update to the latest version, fixes some more connectivity issues (#21817) 2016-02-08 08:03:06 +00:00
samba36 samba36: add three CVE patches from 2015-12-16 2016-01-05 10:42:52 +00:00
uhttpd package/uhttpd: generate 2048 bit RSA key 2016-01-25 17:42:25 +00:00