You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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
8 years ago
..
authsae authsae: Use kbit/s as mcast_rate unit like wpad 9 years ago
dnsmasq dnsmasq: add host-specific lease time option for static hosts 8 years ago
dropbear dropbear: honor CONFIG_TARGET_INIT_PATH 8 years ago
ead cosmetic: remove trailing whitespaces 9 years ago
hostapd hostapd: remove useless TLS provider selection override for wpad-mesh/wpa_supplicant-mesh 8 years ago
igmpproxy igmpproxy: fix spurious restarts on interface events, pass used netdevs to procd instead 9 years ago
ipset-dns Add a few SPDX tags 10 years ago
lldpd lldp: Upgrade to 0.9.0 8 years ago
mdns packages: use OPENWRT_GIT to point at the main openwrt git repo 9 years ago
odhcpd odhcpd: correctly handle netlink congestion case 9 years ago
omcproxy omcproxy: fix PKG_LICENSE string 9 years ago
openvpn openvpn: update to version 2.3.10 9 years ago
openvpn-easy-rsa packages: remove uneeded PKG_BUILD_DIR overrides 9 years ago
ppp ppp: use more reliable way to set script environment 9 years ago
relayd relayd: update to the latest version, fixes some more connectivity issues (#21817) 8 years ago
samba36 samba36: add three CVE patches from 2015-12-16 9 years ago
uhttpd package/uhttpd: generate 2048 bit RSA key 9 years ago