luci-mod-admin-full: host-specific dhcp lease time option for static hosts
authorHannu Nyman <hannu.nyman@iki.fi>
Fri, 26 Feb 2016 11:48:36 +0000 (13:48 +0200)
committerHannu Nyman <hannu.nyman@iki.fi>
Fri, 26 Feb 2016 11:48:36 +0000 (13:48 +0200)
commitdd0848b3fa9a0a219b32d0d8494a0973a948353a
tree414afa9c95ce9b572b2134252478f6039035fb09
parent55597da3a8540d19b34bf25ccf08d70e759013ab
luci-mod-admin-full: host-specific dhcp lease time option for static hosts

Enable setting a host-specific lease time for static hosts.
Format is similar as for the default lease time: e.g. 2m, 12h, 3d, infinite

Default lease time is used for all hosts without host-specific definition.

Support for the option was added to Openwrt trunk by r48801:
https://dev.openwrt.org/changeset/48801

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/dhcp.lua