protocols/core: fix bad .write() invocation in luci.tools.proto
authorJo-Philipp Wich <jow@openwrt.org>
Sun, 19 Aug 2012 15:48:57 +0000 (15:48 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Sun, 19 Aug 2012 15:48:57 +0000 (15:48 +0000)
protocols/core/luasrc/tools/proto.lua

index 740cf94b79853222cff32ba715bda8582496343e..4df02696b0a44c541ed1528e5017fb69aba4463f 100644 (file)
@@ -41,6 +41,6 @@ function opt_macaddr(s, ifc, ...)
        end
 
        function o.remove(self, section)
-               self:write(self, section, nil)
+               self:write(section, nil)
        end
 end