# correct 1st run DHCP latency

This commit is contained in:
fred 2024-04-23 00:32:30 +02:00
parent d15d5ca9c1
commit e9d0be5ecf
1 changed files with 1 additions and 0 deletions

View File

@ -81,6 +81,7 @@ while true; do
start=`date +%s`
MOATS=$(date -u +"%Y%m%d%H%M%S%4N")
[[ ${myIP} == "" ]] && source "${MY_PATH}/tools/my.sh" ## correct 1st run DHCP latency
lastrun=$(cat ~/.zen/tmp/${IPFSNODEID}/_MySwarm.moats)
duree=$(expr ${MOATS} - $lastrun)