protocols/core: fix bad .write() invocation in luci.tools.proto
[project/luci.git] / protocols / core / luasrc / tools / proto.lua
index 740cf94..4df0269 100644 (file)
@@ -41,6 +41,6 @@ function opt_macaddr(s, ifc, ...)
        end
 
        function o.remove(self, section)
        end
 
        function o.remove(self, section)
-               self:write(self, section, nil)
+               self:write(section, nil)
        end
 end
        end
 end