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 commit 0ef82b3c581fca05521637421cfc4b516d9099a2)
This commit is contained in:
parent
fc3aa657c4
commit
dd9390c81f
@ -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…
x
Reference in New Issue
Block a user