diff options
author | Florian Eckert <fe@dev.tdt.de> | 2018-10-16 09:31:52 +0200 |
---|---|---|
committer | Florian Eckert <fe@dev.tdt.de> | 2018-11-14 09:15:13 +0100 |
commit | fc1e2c53b9c6d80e8632c11f7378dcc76b03a5b9 (patch) | |
tree | 26b82df77ed0cc76628a8c19ec05c8d2647eca95 /applications/luci-app-mwan3/luasrc/model/cbi | |
parent | e535ef5828d509f1c79cb160a22c159fe4fd9f1f (diff) |
luci-app-mwan3: declare variables in globalsconfig.lua local
It is best practice to declar module variables local.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Diffstat (limited to 'applications/luci-app-mwan3/luasrc/model/cbi')
-rw-r--r-- | applications/luci-app-mwan3/luasrc/model/cbi/mwan/globalsconfig.lua | 1 |
1 files changed, 1 insertions, 0 deletions
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")) |