offset can also be positive, so need to add "+" to regex match in line 217 to capture proper $offset value
@@ -214,7 +214,7 @@ while (<NTPDATE>) {
$stratum = $1;
}
- if (/(offset|adjust)\s+([-.\d]+)/i) {
+ if (/(offset|adjust)\s+([-+.\d]+)/i) {
$offset = $2;
# An offset of 0.000000 with an error is probably bogus. Actually,