mirror of
https://github.com/opnsense/src.git
synced 2026-06-03 22:02:58 -04:00
ntp: Another patch to address IPv6 pool regression
98e34e8e2557 circumvented an upstream patch which caused an IPv6 pool regression. This patch, discussed in https://bugs.ntp.org/show_bug.cgi?id=3958, addresses another unworkable combination of link-local local address with non-link-local server. (cherry picked from commit c1767cf87cb64c25426fd7fe119be283b134509a)
This commit is contained in:
parent
a7aa1196d3
commit
61e5e864ca
1 changed files with 1 additions and 1 deletions
|
|
@ -475,7 +475,7 @@ transmit(
|
|||
/* [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)
|
||||
|| !nonlocal_v4_addr_up) {
|
||||
|| (IS_IPV4(&peer->srcadr) && !nonlocal_v4_addr_up)) {
|
||||
unpeer(peer);
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue