From: Harlan Stenn Date: Fri, 23 Dec 2011 04:07:30 +0000 (-0500) Subject: [Bug 2095] ntptrace now needs 'rv' instead pf 'pstat', reported by Michael Tatarinov X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=045da72767cddceb09e9c2cf863cb1233e31ec55;p=thirdparty%2Fntp.git [Bug 2095] ntptrace now needs 'rv' instead pf 'pstat', reported by Michael Tatarinov bk: 4ef3fe82UlXIvmr0h8vlIFAv3qK2sQ --- diff --git a/ChangeLog b/ChangeLog index ecd9c8b164..c545b36daa 100644 --- 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 * Include missing html/icons/sitemap.png, reported by Michael Tatarinov. * Documentation updates from Dave Mills. diff --git a/scripts/ntptrace.in b/scripts/ntptrace.in index d44dab46d8..b765d2196e 100755 --- a/scripts/ntptrace.in +++ b/scripts/ntptrace.in @@ -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 () {