Browse Source

fix comapre ip with dns

dev
rootzoll 6 years ago
parent
commit
6d379d92a4
  1. 2
      home.admin/00infoBlitz.sh

2
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}"

Loading…
Cancel
Save