diff --git a/luci-app-openmptcprouter/luasrc/view/openmptcprouter/wanstatus.htm b/luci-app-openmptcprouter/luasrc/view/openmptcprouter/wanstatus.htm
index 287a18448..9c475ed6c 100644
--- a/luci-app-openmptcprouter/luasrc/view/openmptcprouter/wanstatus.htm
+++ b/luci-app-openmptcprouter/luasrc/view/openmptcprouter/wanstatus.htm
@@ -332,6 +332,10 @@
}
//var content = String.format('%s
wan address: %s
whois: %s
latency: %s ms
multipath: %s', stat, wanip, whois, latency, multipath);
var content = "";
+ if(ipaddr != '')
+ {
+ content += String.format('ip address: %s
', ipaddr);
+ }
if(wanip !== '')
{
content += String.format('wan address: %s
', wanip);
@@ -380,10 +384,6 @@
{
statusMessage += 'IPv6 route received
'
}
- if(ipaddr != '')
- {
- content += String.format('ip address: %s
', ipaddr);
- }
content += String.format('multipath: %s
',multipath);
if(mArray.wans[i].qos && mArray.wans[i].download > 0 && mArray.wans[i].upload > 0)
{