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>
This commit is contained in:
parent
825e9d9dc4
commit
0ef82b3c58
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