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