Merge pull request #3265 from najdanovicivan/patch-2

luci-mod-network: add address parameter in DHCP for dnsmasq
This commit is contained in:
Florian Eckert 2020-09-14 15:34:37 +02:00 committed by GitHub
commit 5ca328440b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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'));