libs/core: fix bug in firewall model
This commit is contained in:
parent
ea81c6ad53
commit
3407c007d8
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ function _set(c, s, o, v)
|
|||
if type(v) == "boolean" then v = v and "1" or "0" end
|
||||
return uci_r:set(c, s, o, v)
|
||||
else
|
||||
return uci_r:del(c, s, o, v)
|
||||
return uci_r:delete(c, s, o)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue