bk: 554715adFAJ28lwT1_q2nAVOmf0wWQ
* [Bug 2810] refclock_shm.c memory barrier code needs tweaks for QNX.
* [Bug 2813] HP-UX needs -D__STDC_VERSION__=199901L and limits.h.
* [Bug 2815] net-snmp before v5.4 has circular library dependencies.
+* [Bug 2822] New leap column in sntp broke NTP::Util.pm.
* Improve the ntpq documentation around the controlkey keyid.
* ntpq.c cleanup.
* Windows port build cleanup.
my @output = split / /;
$offset = $output[3];
- ($stratum = pop @output) =~ s/s(\d{1,2})/$1/;
+ ($stratum = $output[7]) =~ s/s(\d{1,2})/$1/;
}
close $fh or croak "running sntp failed: $! (exit status $?)";
return ($offset, $stratum);