projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
NIU:
[project/luci.git]
/
modules
/
niu
/
luasrc
/
controller
/
niu
/
network.lua
diff --git
a/modules/niu/luasrc/controller/niu/network.lua
b/modules/niu/luasrc/controller/niu/network.lua
index
c0afba9
..
de3d7d4
100644
(file)
--- a/
modules/niu/luasrc/controller/niu/network.lua
+++ b/
modules/niu/luasrc/controller/niu/network.lua
@@
-32,22
+32,12
@@
function index()
uci.inst_state:foreach("dhcp", "dhcp", function(s)
if s.interface == "lan" and s.ignore ~= "1" then
entry({"niu", "network", "assign"}, cbi("niu/network/assign",
uci.inst_state:foreach("dhcp", "dhcp", function(s)
if s.interface == "lan" and s.ignore ~= "1" then
entry({"niu", "network", "assign"}, cbi("niu/network/assign",
- toniu), "
Display and Customiz
e Address Assignment", 30)
+ toniu), "
Manag
e Address Assignment", 30)
end
end)
end
end)
-
- entry({"niu", "network", "routes"}, cbi("niu/network/routes",
- toniu), "Display and Customize Routing", 40)
-
- entry({"niu", "network", "conntrack"}, call("cnntrck"),
- "Display Local Network Activity", 50)
if fs.access("/etc/config/ddns") then
entry({"niu", "network", "ddns"}, cbi("niu/network/ddns", toniu),
"Configure Dynamic-DNS names", 60)
end
end
if fs.access("/etc/config/ddns") then
entry({"niu", "network", "ddns"}, cbi("niu/network/ddns", toniu),
"Configure Dynamic-DNS names", 60)
end
end
-
-function cnntrck()
- require "luci.template".render("niu/network/conntrack")
-end