protocols/core: fix bad .write() invocation in luci.tools.proto
[project/luci.git] / 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