diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2010-10-31 21:43:21 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2010-10-31 21:43:21 +0000 |
commit | 3407c007d8190fc67b653e67d08849a82831dffd (patch) | |
tree | 7dfd64d47e22a2cbd096e1ff02867b2e10f0652f | |
parent | ea81c6ad5371f52ef6581c82d13f14a702eb1b0a (diff) |
libs/core: fix bug in firewall model
-rw-r--r-- | libs/core/luasrc/model/firewall.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/core/luasrc/model/firewall.lua b/libs/core/luasrc/model/firewall.lua index c13f5d6a1b..1251feaa91 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 |