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:
parent
66fc653b09
commit
8463929378
1 changed files with 7 additions and 0 deletions
|
@ -186,6 +186,13 @@ return L.view.extend({
|
||||||
o.placeholder = '/example.org/10.1.2.3';
|
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',
|
o = s.taboption('general', form.Flag, 'rebind_protection',
|
||||||
_('Rebind protection'),
|
_('Rebind protection'),
|
||||||
_('Discard upstream RFC1918 responses'));
|
_('Discard upstream RFC1918 responses'));
|
||||||
|
|
Loading…
Reference in a new issue