[pkg-ntp-maintainers] Bug#637030: Does ntptrace look for non existant value in ntpq output?

Regid Ichira regid23 at yahoo.com
Sun Aug 7 22:11:56 UTC 2011


Source: ntp
Version: 4.2.6.p3+dfsg-1
Severity: normal
Tags: patch

  Explanation: I think it is try to catch the rootsisp output from
    ntpq -n -c rv

--- ntp-4.2.6.p3+dfsg/scripts/ntptrace.in      2009-12-09 09:36:35.000000000 +0200
+++ ntptrace.in 2011-08-08 01:06:06.000000000 +0300
@@ -34,7 +34,7 @@
                # Very old servers report phase and not offset.
                $offset = $1 if (/(?:offset|phase)=([^\s,]+)/);
                $rootdelay = $1 if (/rootdelay=([^\s,]+)/);
-               $rootdispersion = $1 if (/rootdispersion=([^\s,]+)/);
+               $rootdispersion = $1 if (/rootdisp=([^\s,]+)/);
                $refid = $1 if (/refid=([^\s,]+)/);
        }
        close(PH) || die "$cmd failed";






More information about the pkg-ntp-maintainers mailing list