From 3ca18633bf39d176916b4631260db57eb1843d70 Mon Sep 17 00:00:00 2001 From: Raumi <@raumi75> Date: Fri, 22 Feb 2019 15:54:20 +0100 Subject: [PATCH] Fixed issue #344 (disappearing number of connections when dyndns) --- home.admin/00infoBlitz.sh | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/home.admin/00infoBlitz.sh b/home.admin/00infoBlitz.sh index da69057..0165c81 100755 --- a/home.admin/00infoBlitz.sh +++ b/home.admin/00infoBlitz.sh @@ -179,14 +179,6 @@ else public="" public_color="${color_red}" fi - if [ ${#public_addr} -gt 25 ]; then - # if a IPv6 address dont show peers to save space - networkConnectionsInfo="" - fi - if [ ${#public_addr} -gt 35 ]; then - # if a LONG IPv6 address dont show "Public" in front to save space - public_addr_pre="" - fi # DynDNS if [ ${#dynDomain} -gt 0 ]; then @@ -201,9 +193,17 @@ else # replace IP display with dynDNS public_addr_pre="DynDNS " - networkConnectionsInfo="" public_addr="${dynDomain}" + fi + if [ ${#public_addr} -gt 25 ]; then + # if a IPv6 address dont show peers to save space + networkConnectionsInfo="" + fi + + if [ ${#public_addr} -gt 35 ]; then + # if a LONG IPv6 address dont show "Public" in front to save space + public_addr_pre="" fi fi