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

Display whois of IPv6 address in status page if not same as IPv4 whois

This commit is contained in:
Ycarus (Yannick Chabanois) 2021-02-17 14:32:24 +01:00
parent 5b9f6a8ed0
commit 18f2034668

View file

@ -498,7 +498,7 @@ local statuslogo = ucic:get("openmptcprouter","settings","statuslogo") or "openm
{
content += String.format('%s %s<br />','<%:whois:%>', whois);
}
if(whois6 !== '')
if(whois6 !== '' && whois6 != whois)
{
content += String.format('%s %s<br />','<%:whois:%>', whois6);
}