]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
[Bug 2095] ntptrace now needs 'rv' instead pf 'pstat', reported by Michael Tatarinov
authorHarlan Stenn <stenn@ntp.org>
Fri, 23 Dec 2011 04:07:30 +0000 (23:07 -0500)
committerHarlan Stenn <stenn@ntp.org>
Fri, 23 Dec 2011 04:07:30 +0000 (23:07 -0500)
bk: 4ef3fe82UlXIvmr0h8vlIFAv3qK2sQ

ChangeLog
scripts/ntptrace.in

index ecd9c8b1644e19491ea755e175592f4e6b77a6d9..c545b36daa6d405e331e004c2fa74c9b88ae0c8c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,5 @@
+* [Bug 2095] ntptrace now needs 'rv' instead pf 'pstat', reported
+  by Michael Tatarinov.
 (4.2.7p242) 2011/12/21 Released by Harlan Stenn <stenn@ntp.org>
 * Include missing html/icons/sitemap.png, reported by Michael Tatarinov.
 * Documentation updates from Dave Mills.
index d44dab46d83486f4f0c5169f396cb0c4fafd12f3..b765d2196e41f079a88c8f4deedf22967d36ec59 100755 (executable)
@@ -57,7 +57,7 @@ for (;;) {
        last if ($refid =~ /^127\.127\.\d{1,3}\.\d{1,3}$/);
        last if ($nb_host > $max_hosts);
 
-       $cmd = "$ntpq -n -c \"pstat $peer\" $host";
+       $cmd = "$ntpq -n -c \"rv $peer\" $host";
        open(PH, $cmd . "|") || die "failed to start command $cmd: $!";
        $thost = "";
        while (<PH>) {