[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ntp-bugs
Subject:    [ntp:bugs] [Bug 2066] New: ntpq lopeers ipv6 formatting overrun
From:       bugzilla-daemon () ntp ! org
Date:       2011-11-15 21:22:52
Message-ID: bug-2066-35 () http ! bugs ! ntp ! org/
[Download RAW message or body]

http://bugs.ntp.org/show_bug.cgi?id=2066

             Bug #: 2066
           Summary: ntpq lopeers ipv6 formatting overrun
           Product: ntp
           Version: 4.2.6
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: ntpq
        AssignedTo: stenn@ntp.org
        ReportedBy: kelly@silka.with-linux.com
                CC: bugs@ntp.org
    Classification: Unclassified


Created attachment 806
  --> http://bugs.ntp.org/attachment.cgi?id=806
Patch to fix lopeers ipv6 formatting

I use ntpq lopeers quite often to check on the status of my clocks and such.
I also use a pure IPV6 installation so I'm dealing with ipv6 addresses
all of the time.

This patch fixes the formatting issues in lopeers with ipv6.

Here's the output without the patch:

ntpq> lopeer
    remote           local      st t when poll reach   delay   offset    disp
==============================================================================
*jon46-1-pt      2001:470:b:89:8e8:7aff:fec7:2adc  2 u  161  256  377    0.345 
  0.151  16.987
 spaadi.intermon 2001:470:b:89:8e8:7aff:fec7:2adc  3 u  134  256  377    0.670 
  0.397  20.486
 comon.intermon  2001:470:b:89:8e8:7aff:fec7:2adc  3 u  107  128  356    4.686 
  1.846   8.874
 sheevm.intermon 2001:470:b:89:8e8:7aff:fec7:2adc  3 u  174  256  367    0.917 
  0.381   5.606
 valmon.intermon 2001:470:b:89:8e8:7aff:fec7:2adc 16 u    - 1024    0    0.000 
  0.000 15937.5

Here's the output with the patch:

ntpq> lopeers
    remote           local      st t when poll reach   delay   offset    disp
==============================================================================
 LOCAL(0)        0.0.0.0         10 -  40m   64    0    0.000    0.000 15937.5
*jon46-1-pt      comon.intermon   2 u   95  128  377    1.430   -0.042   5.981
 bbc.internal    comon.intermon   3 u   92  128  355    4.476    1.076   6.663
 sheevm.internal comon.intermon   3 u  120  128  376   12.783   -5.976   6.200
 spaadi.internal comon.intermon   3 u  117  128  376    1.616   -0.136  10.947
 valmon.internal comon.intermon  16 u    - 1024    0    0.000    0.000 15937.5

-- 
Configure bugmail: http://bugs.ntp.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
bugs mailing list
bugs@lists.ntp.org
http://lists.ntp.org/listinfo/bugs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic