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-Tag: NTP_4_2_7P243~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a7e686f2d66877fb4888fa0a9f5c7242b65c7aa6;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 ecd9c8b16..c545b36da 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 d44dab46d..b765d2196 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 () {