mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-02-24 22:58:43 +01:00
fix comapre ip with dns
This commit is contained in:
parent
e2360d0e08
commit
6d379d92a4
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue