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>
This commit is contained in:
Najdanovic Ivan 2019-11-05 19:06:02 +01:00
parent 66fc653b09
commit 8463929378

View file

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