summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-mod-network/htdocs/luci-static
diff options
context:
space:
mode:
authorFlorian Eckert <fe@dev.tdt.de>2020-09-14 15:34:37 +0200
committerGitHub <noreply@github.com>2020-09-14 15:34:37 +0200
commit5ca328440b3a41ab6d415ec96f9db4339715de67 (patch)
treec73e3eab5a87927f998d9bf1a2af863b94e70db3 /modules/luci-mod-network/htdocs/luci-static
parenta9e62b55da2e2413ed392d2dbdf30423090963bc (diff)
parent8463929378ad3e49f68ef958f6422354304395cb (diff)
Merge pull request #3265 from najdanovicivan/patch-2
luci-mod-network: add address parameter in DHCP for dnsmasq
Diffstat (limited to 'modules/luci-mod-network/htdocs/luci-static')
-rw-r--r--modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js7
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 fa991db41d..37cc29f32a 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
@@ -282,6 +282,13 @@ return view.extend({
o.validate = validateServerSpec;
+ 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'));