1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-02-12 18:41:51 +00:00

Display IPv6 address in status page before other infos

This commit is contained in:
Ycarus 2018-07-09 16:15:11 +02:00
parent 227f76a6ee
commit af1694c0dd

View file

@ -80,11 +80,6 @@
content += "Core temp: " + (mArray.openmptcprouter.core_temp / 1000).toFixed(1) + " °";
content += "<br />";
}
if (mArray.openmptcprouter.wan_addr6)
{
content += "IPv6: " + mArray.openmptcprouter.wan_addr6;
content += "<br />";
}
if (mArray.openmptcprouter.uptime)
{
var date = new Date(null);
@ -128,6 +123,11 @@
{
statusMessage += 'DNS issue: can\'t resolve hostname<br/>';
}
if (mArray.openmptcprouter.wan_addr6)
{
content += "IPv6: " + mArray.openmptcprouter.wan_addr6;
content += "<br />";
}
if(statusMessage !== "")
{