diff --git a/plugins/other/ntpdate_ b/plugins/other/ntpdate_ index 025f3709..2bbeea52 100755 --- a/plugins/other/ntpdate_ +++ b/plugins/other/ntpdate_ @@ -38,7 +38,7 @@ if [ "$1" = "config" ]; then exit 0 fi -DATA=($($NTPDATE -q $PEER | awk '/^server.*offset/{gsub(/,/,"");printf "%s %s", ($6*1000), ($8*1000);}')) +DATA=($($NTPDATE -q $PEER | awk '/^server.*offset/{gsub(/,/,"");if(dela==0||$8