From 8463929378ad3e49f68ef958f6422354304395cb Mon Sep 17 00:00:00 2001 From: Najdanovic Ivan Date: Tue, 5 Nov 2019 19:06:02 +0100 Subject: 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 --- .../htdocs/luci-static/resources/view/network/dhcp.js | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'modules/luci-mod-network/htdocs/luci-static') 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')); -- cgit v1.2.3