ntpstat-0.2-sysvars.patch 567 B

12345678910111213141516
  1. diff -up ntp-4.2.6p1/ntpstat-0.2/ntpstat.c.sysvars ntp-4.2.6p1/ntpstat-0.2/ntpstat.c
  2. --- ntpstat-0.2/ntpstat.c.sysvars 2010-05-03 11:27:47.000000000 +0200
  3. +++ ntpstat-0.2/ntpstat.c 2010-05-03 11:32:56.000000000 +0200
  4. @@ -89,9 +89,9 @@ int main (void) {
  5. "modem"}; /* 9 */
  6. char *newstr;
  7. char *dispstr;
  8. - const char DISP[] = "rootdispersion=";
  9. + const char DISP[] = "rootdisp=";
  10. const char STRATUM[] = "stratum=";
  11. - const char POLL[] = "poll=";
  12. + const char POLL[] = "tc=";
  13. const char REFID[] = "refid=";
  14. /* initialise timeout value */