projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
luci-app-mwan3: remove/unify lua require order
[project/luci.git]
/
applications
/
luci-app-mwan3
/
luasrc
/
model
/
cbi
/
mwan
/
ruleconfig.lua
diff --git
a/applications/luci-app-mwan3/luasrc/model/cbi/mwan/ruleconfig.lua
b/applications/luci-app-mwan3/luasrc/model/cbi/mwan/ruleconfig.lua
index 756e089404926b283dd1219ab7d261ed43619b6e..e12639e33dd2169acd52804200a063f7460ebf39 100644
(file)
--- a/
applications/luci-app-mwan3/luasrc/model/cbi/mwan/ruleconfig.lua
+++ b/
applications/luci-app-mwan3/luasrc/model/cbi/mwan/ruleconfig.lua
@@
-1,8
+1,7
@@
dsp = require "luci.dispatcher"
-sys = require "luci.sys"
-ut = require "luci.util"
arg[1] = arg[1] or ""
+
m5 = Map("mwan3", translatef("MWAN Rule Configuration - %s", arg[1]))
m5.redirect = dsp.build_url("admin", "network", "mwan", "rule")