From: Florian Eckert Date: Tue, 16 Oct 2018 07:31:52 +0000 (+0200) Subject: luci-app-mwan3: declare variables in globalsconfig.lua local X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=fc1e2c53b9c6d80e8632c11f7378dcc76b03a5b9;p=oweals%2Fluci.git luci-app-mwan3: declare variables in globalsconfig.lua local It is best practice to declar module variables local. Signed-off-by: Florian Eckert --- diff --git a/applications/luci-app-mwan3/luasrc/model/cbi/mwan/globalsconfig.lua b/applications/luci-app-mwan3/luasrc/model/cbi/mwan/globalsconfig.lua index d8f90e1e2..dba1998fd 100644 --- a/applications/luci-app-mwan3/luasrc/model/cbi/mwan/globalsconfig.lua +++ b/applications/luci-app-mwan3/luasrc/model/cbi/mwan/globalsconfig.lua @@ -3,6 +3,7 @@ local net = require "luci.model.network".init() +local s, m, n, mask m = Map("mwan3", translate("MWAN - Globals"))