From 6d379d92a4510cce9d30971646a3720400d0f6a3 Mon Sep 17 00:00:00 2001 From: rootzoll Date: Thu, 17 Jan 2019 17:49:59 +0100 Subject: [PATCH] fix comapre ip with dns --- home.admin/00infoBlitz.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home.admin/00infoBlitz.sh b/home.admin/00infoBlitz.sh index 81ad91a..1be974c 100755 --- a/home.admin/00infoBlitz.sh +++ b/home.admin/00infoBlitz.sh @@ -190,7 +190,7 @@ else #check if dyndns resolves to correct IP ipOfDynDNS=$(getent hosts rootzoll.chickenkiller.com | awk '{ print $1 }') - if [ "${ipOfDynDNS}" != "${public_addr}" ]; then + if [ "${ipOfDynDNS}:${public_port}" != "${public_addr}" ]; then public_color="${color_red}" else public_color="${color_yellow}"