diff --git a/zen/ipfs_SWARM_refresh.sh b/zen/ipfs_SWARM_refresh.sh index fcc7555..2f7a9fa 100755 --- a/zen/ipfs_SWARM_refresh.sh +++ b/zen/ipfs_SWARM_refresh.sh @@ -44,7 +44,7 @@ do nowdate=$(date) timestamp=$(date -u +%s%N | cut -b1-13) - echo "$nowdate - $id - $ip" + echo "$nowdate - $ipfsnodeid - $ip" foundIp=$(cat ~/.zen/A_allow_ip.txt | grep "$ip") foundIpfs=$(cat ~/.zen/A_allow_ipfsid.txt | grep "$ipfsnodeid") isLAN=$(echo $ip | cut -f3 -d '/' | grep -E "(^127\.)|(^192\.168\.)|(^fd42\:)|(^10\.)|(^172\.1[6-9]\.)|(^172\.2[0-9]\.)|(^172\.3[0-1]\.)|(^::1$)|(^[fF][cCdD])/")