projects
/
oweals
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea81c6a
)
libs/core: fix bug in firewall model
author
Jo-Philipp Wich
<jow@openwrt.org>
Sun, 31 Oct 2010 21:43:21 +0000
(21:43 +0000)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Sun, 31 Oct 2010 21:43:21 +0000
(21:43 +0000)
libs/core/luasrc/model/firewall.lua
patch
|
blob
|
history
diff --git
a/libs/core/luasrc/model/firewall.lua
b/libs/core/luasrc/model/firewall.lua
index c13f5d6a1bbc4ac94c2d2dd5d2fdeaae4f8477ed..1251feaa910f1a9166e4b5a67fe6baa82f057a38 100644
(file)
--- a/
libs/core/luasrc/model/firewall.lua
+++ b/
libs/core/luasrc/model/firewall.lua
@@
-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:del
ete(c, s, o
)
end
end