From 18f2034668937760994a3b792290c17ac9ee1d80 Mon Sep 17 00:00:00 2001 From: "Ycarus (Yannick Chabanois)" Date: Wed, 17 Feb 2021 14:32:24 +0100 Subject: [PATCH] Display whois of IPv6 address in status page if not same as IPv4 whois --- .../luasrc/view/openmptcprouter/wanstatus.htm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/luci-app-openmptcprouter/luasrc/view/openmptcprouter/wanstatus.htm b/luci-app-openmptcprouter/luasrc/view/openmptcprouter/wanstatus.htm index 83f601bbf..794dccb31 100644 --- a/luci-app-openmptcprouter/luasrc/view/openmptcprouter/wanstatus.htm +++ b/luci-app-openmptcprouter/luasrc/view/openmptcprouter/wanstatus.htm @@ -498,7 +498,7 @@ local statuslogo = ucic:get("openmptcprouter","settings","statuslogo") or "openm { content += String.format('%s %s
','<%:whois:%>', whois); } - if(whois6 !== '') + if(whois6 !== '' && whois6 != whois) { content += String.format('%s %s
','<%:whois:%>', whois6); }