mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-02-13 02:51:50 +00:00
Display IPv6 address in status page before other infos
This commit is contained in:
parent
227f76a6ee
commit
af1694c0dd
1 changed files with 5 additions and 5 deletions
|
@ -80,11 +80,6 @@
|
||||||
content += "Core temp: " + (mArray.openmptcprouter.core_temp / 1000).toFixed(1) + " °";
|
content += "Core temp: " + (mArray.openmptcprouter.core_temp / 1000).toFixed(1) + " °";
|
||||||
content += "<br />";
|
content += "<br />";
|
||||||
}
|
}
|
||||||
if (mArray.openmptcprouter.wan_addr6)
|
|
||||||
{
|
|
||||||
content += "IPv6: " + mArray.openmptcprouter.wan_addr6;
|
|
||||||
content += "<br />";
|
|
||||||
}
|
|
||||||
if (mArray.openmptcprouter.uptime)
|
if (mArray.openmptcprouter.uptime)
|
||||||
{
|
{
|
||||||
var date = new Date(null);
|
var date = new Date(null);
|
||||||
|
@ -128,6 +123,11 @@
|
||||||
{
|
{
|
||||||
statusMessage += 'DNS issue: can\'t resolve hostname<br/>';
|
statusMessage += 'DNS issue: can\'t resolve hostname<br/>';
|
||||||
}
|
}
|
||||||
|
if (mArray.openmptcprouter.wan_addr6)
|
||||||
|
{
|
||||||
|
content += "IPv6: " + mArray.openmptcprouter.wan_addr6;
|
||||||
|
content += "<br />";
|
||||||
|
}
|
||||||
|
|
||||||
if(statusMessage !== "")
|
if(statusMessage !== "")
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue