Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/dist/ntp/ntpd



Matthias Drochner wrote:

kardel%NetBSD.org@localhost said:
Module Name:    src Committed By:       kardel Date:            Sat Jun 17 
12:11:55 UTC
2006
Modified Files:
        src/dist/ntp/ntpd: ntp_io.c
Log Message: cope with situations where interface are UP and bound to
INADDR_ANY - ntpd will ignore those interfaces (bug 637
@bugs.ntp.isc.org)

The interfaceiter code (ifiter_sysctl.c and ifiter_ioctl.c) tries to
ignore these.
Would be good to understand why another layer of code is needed here.
true, but not in ifiter_getifaddrs.c which is used because HAVE_GETIFADDRS is defined in config.h. Thus we are actually looking at an inconsistency of libisc. So actually libisc should be fixed for consistent behaviour. I'll pass that on.
Anyhow the extra check makes sure we don't mess up even when the lib
does.

best regards
Matthias

thanks for noticing
 Frank



Home | Main Index | Thread Index | Old Index