ntpd tries to bind to IPv6 interfaces in 'tentative' state and fails as IPv6 is actually disabled.
Proposed patch makes ntpd ignore tentative addresses.
Submitted by: ume@freebsd.org <Hajimu UMEMOTO>
Differential D1527
Fix "ntpd bind() failure: Can't assign requested address" for disabled IPv6 addresses. hiren on Jan 14 2015, 5:08 PM. Authored by Tags None Referenced Files
Details ntpd tries to bind to IPv6 interfaces in 'tentative' state and fails as IPv6 is actually disabled. Submitted by: ume@freebsd.org <Hajimu UMEMOTO>
Diff Detail
Event TimelineComment Actions Fix the whitespace issues; functionally it seems fine.
Comment Actions nope; if you have one flag add it to the exclude list. if you have another flag add it to the exclude list. No #else please; this needs to be additive; we want to fail on either of the two (well really three as IN6_IFF_NOTREADY is tentative and duplicated) flags. Comment Actions OK then that last #endif closes the #if at the top? If so we need /* comments */ after the #endifs Comment Actions Actaully indent the #if/#endifs correctly (hopefully) and remove a space that bz@ put to catch my blind copy/paste skills. ;-) |