From fc1e2c53b9c6d80e8632c11f7378dcc76b03a5b9 Mon Sep 17 00:00:00 2001 From: Florian Eckert Date: Tue, 16 Oct 2018 09:31:52 +0200 Subject: [PATCH] luci-app-mwan3: declare variables in globalsconfig.lua local It is best practice to declar module variables local. Signed-off-by: Florian Eckert --- .../luci-app-mwan3/luasrc/model/cbi/mwan/globalsconfig.lua | 1 + 1 file changed, 1 insertion(+) 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")) -- 2.25.1