libs/core: fix bug in firewall model

This commit is contained in:
Jo-Philipp Wich 2010-10-31 21:43:21 +00:00
parent ea81c6ad53
commit 3407c007d8

View file

@ -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