From: Jo-Philipp Wich Date: Sun, 31 Oct 2010 21:43:21 +0000 (+0000) Subject: libs/core: fix bug in firewall model X-Git-Tag: 0.10.0~537 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=3407c007d8190fc67b653e67d08849a82831dffd;p=oweals%2Fluci.git libs/core: fix bug in firewall model --- diff --git a/libs/core/luasrc/model/firewall.lua b/libs/core/luasrc/model/firewall.lua index c13f5d6a1..1251feaa9 100644 --- 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:delete(c, s, o) end end