luci-mod-network: Restructure DHCP options
Multiple dnsmasq sections are now enabled (for those who want e.g. separate dnsmasq options per interface). Signed-off-by: Paul Donald <newtwen@gmail.com>
This commit is contained in:
parent
010c32010b
commit
09ab764173
1 changed files with 2 additions and 2 deletions
|
@ -316,8 +316,8 @@ return view.extend({
|
||||||
_('Dnsmasq is a lightweight <abbr title="Dynamic Host Configuration Protocol">DHCP</abbr> server and <abbr title="Domain Name System">DNS</abbr> forwarder.'));
|
_('Dnsmasq is a lightweight <abbr title="Dynamic Host Configuration Protocol">DHCP</abbr> server and <abbr title="Domain Name System">DNS</abbr> forwarder.'));
|
||||||
|
|
||||||
s = m.section(form.TypedSection, 'dnsmasq');
|
s = m.section(form.TypedSection, 'dnsmasq');
|
||||||
s.anonymous = true;
|
s.anonymous = false;
|
||||||
s.addremove = false;
|
s.addremove = true;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue