[ntp:questions] Re: Advice needed - really bad clock drift in OpenBSD

Danny Mayer mayer at gis.net
Wed Nov 26 02:25:17 UTC 2003


howard at rumba.ee.ualberta.ca (Walt Howard) wrote in message news:<bpto8n$eab$1 at rumba.ee.ualberta.ca>...
> I saw something similar - ntpd worked fine on OpenBSD 3.3 but completely
> failed to discipline the clock on OpenBSD 3.4.  I am now running ntp 4.2.0
> and it seems to be doing better.  Translating the OpenBSD patches will
> take a little work since ntp_io was almost completely rewritten, but you
> have to do it or the ntp_rfc2553.h will cause all kinds of duplicate
> definition problems on a system that has all that stuff in the system
> include files.  I'd like to see the
>   #if defined(_SS_MAXSIZE) || defined(_SS_SIZE)
> in ntp_rfc2553.h changed to
>   #if defined(_SS_MAXSIZE) || defined(_SS_SIZE) || defined(_NETINET6_IN6_H_)
> but I haven't had time to see if this would help (or at least not hurt)
> on systems other than OpenBSD.

No, this is just a really bad way of testing for IPv6 support. This has been
replaced in the most recent version with ISC_PLATFORM_HAVEIPV6 which has been
properly tested for IPv6 support.

Danny



More information about the questions mailing list