mirror of
https://github.com/kiddin9/openwrt-packages.git
synced 2025-01-09 09:47:28 +08:00
🍉 Sync 2024-02-16 09:00:38
This commit is contained in:
parent
e74d6b413e
commit
af31ce14b0
@ -819,7 +819,8 @@ return view.extend({
|
||||
so.optional = true;
|
||||
|
||||
Object.values(L.uci.sections('dhcp', 'dnsmasq')).forEach(function(val, index) {
|
||||
so.value(generateDnsmasqInstanceEntry(val));
|
||||
var name, display_str = generateDnsmasqInstanceEntry(val);
|
||||
so.value(index, display_str);
|
||||
});
|
||||
|
||||
o = s.taboption('srvhosts', form.SectionValue, '__srvhosts__', form.TableSection, 'srvhost', null,
|
||||
@ -1097,7 +1098,8 @@ return view.extend({
|
||||
so.optional = true;
|
||||
|
||||
Object.values(L.uci.sections('dhcp', 'dnsmasq')).forEach(function(val, index) {
|
||||
so.value(generateDnsmasqInstanceEntry(val));
|
||||
var name, display_str = generateDnsmasqInstanceEntry(val);
|
||||
so.value(index, display_str);
|
||||
});
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user