projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
NIU: More pages
[project/luci.git]
/
modules
/
niu
/
luasrc
/
view
/
niu
/
network.htm
diff --git
a/modules/niu/luasrc/view/niu/network.htm
b/modules/niu/luasrc/view/niu/network.htm
index
a022b0a
..
8644712
100644
(file)
--- a/
modules/niu/luasrc/view/niu/network.htm
+++ b/
modules/niu/luasrc/view/niu/network.htm
@@
-1,13
+1,19
@@
<%
local dsp = require "luci.dispatcher"
local utl = require "luci.util"
<%
local dsp = require "luci.dispatcher"
local utl = require "luci.util"
-local
str = require "luci.store
"
+local
uci = require "luci.model.uci
"
local nws = {}
local nws = {}
-
str.uci
_state:foreach("network", "interface", function(s)
+
uci.inst
_state:foreach("network", "interface", function(s)
nws[#nws+1] = s
end)
nws[#nws+1] = s
end)
+
+if uci.inst_state:get("network", "lan", "_ipchanged") and
+uci.inst_state:revert("network", "lan", "_ipchanged") then
+ include("niu/network/warn_ip_change")
+end
%>
%>
+
<div>Status:</div>
<table>
<%
<div>Status:</div>
<table>
<%