ntp: Replace the workaround from 98e34e8e25 with a patch from upstream
98e34e8e25circumvented an upstream patch which caused an IPv6 pool regresson. This patch removes the circumvention and replaces it with an upstream patch planned for the new release of ntp. (cherry picked from commitbc02e65587)
This commit is contained in:
parent
61e5e864ca
commit
4ac2d0f253
2 changed files with 1 additions and 5 deletions
|
|
@ -1486,9 +1486,7 @@ is_linklocal(
|
|||
|
||||
if (IS_IPV6(psau)) {
|
||||
p6addr = &psau->sa6.sin6_addr;
|
||||
if ( IN6_IS_ADDR_LINKLOCAL(p6addr)
|
||||
|| IN6_IS_ADDR_SITELOCAL(p6addr)) {
|
||||
|
||||
if (IN6_IS_ADDR_LINKLOCAL(p6addr)) {
|
||||
return TRUE;
|
||||
}
|
||||
} else if (IS_IPV4(psau)) {
|
||||
|
|
|
|||
|
|
@ -471,7 +471,6 @@ transmit(
|
|||
return;
|
||||
}
|
||||
|
||||
#if 0
|
||||
/* [Bug 3851] drop pool servers which can no longer be reached. */
|
||||
if (MDF_PCLNT & peer->cast_flags) {
|
||||
if ( (IS_IPV6(&peer->srcadr) && !nonlocal_v6_addr_up)
|
||||
|
|
@ -480,7 +479,6 @@ transmit(
|
|||
return;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
/*
|
||||
* In unicast modes the dance is much more intricate. It is
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue