diff options
author | Najdanovic Ivan <najdanovicivan@gmail.com> | 2019-11-05 19:06:02 +0100 |
---|---|---|
committer | Najdanovic Ivan <najdanovicivan@gmail.com> | 2020-01-17 01:33:40 +0100 |
commit | 8463929378ad3e49f68ef958f6422354304395cb (patch) | |
tree | 3764d0b8e6ad166cd6b81e705efa48c61359900a /modules/luci-mod-network/htdocs | |
parent | 66fc653b099e619e0fcb57b78311f0f13e4b3ccd (diff) |
luci-mod-network: Add Address parameter in DHCP
Address is very useful in dnsmasq. I don't see a reason why we should not have it in the form
Signed-off-by: Najdanovic Ivan <najdanovicivan@gmail.com>
Diffstat (limited to 'modules/luci-mod-network/htdocs')
-rw-r--r-- | modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js index d7620e7f47..540e9f8eb1 100644 --- a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js +++ b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js @@ -186,6 +186,13 @@ return L.view.extend({ o.placeholder = '/example.org/10.1.2.3'; + o = s.taboption('general', form.DynamicList, 'address', _('Addresses'), + _('List of domains to force to an IP address.')); + + o.optional = true; + o.placeholder = '/router.local/192.168.0.1'; + + o = s.taboption('general', form.Flag, 'rebind_protection', _('Rebind protection'), _('Discard upstream RFC1918 responses')); |