luci-mod-network: fix reading back rpfilter configuration value
Fixes: #5635 Fixes:faad7464a8
("luci-mod-network: add support for network.device sections") Signed-off-by: Jo-Philipp Wich <jo@mein.io> (cherry picked from commit0ef82b3c58
)
This commit is contained in:
parent
fc3aa657c4
commit
dd9390c81f
1 changed files with 2 additions and 2 deletions
|
@ -627,8 +627,8 @@ return baseclass.extend({
|
|||
o.value('', _('disabled'));
|
||||
o.value('loose', _('Loose filtering'));
|
||||
o.value('strict', _('Strict filtering'));
|
||||
o.cfgvalue = function(section_id) {
|
||||
var val = form.ListValue.prototype.cfgvalue.apply(this, [section_id]);
|
||||
o.cfgvalue = function(/* ... */) {
|
||||
var val = form.ListValue.prototype.cfgvalue.apply(this, arguments);
|
||||
|
||||
switch (val || '') {
|
||||
case 'loose':
|
||||
|
|
Loading…
Reference in a new issue