• Witold Krecicki's avatar
    netmgr: retry binding with IP_FREEBIND when EADDRNOTAVAIL is returned. · a0f7d289
    Witold Krecicki authored
    When a new IPv6 interface/address appears it's first in a tentative
    state - in which we cannot bind to it, yet it's already being reported
    by the route socket. Because of that BIND9 is unable to listen on any
    newly detected IPv6 addresses. Fix it by setting IP_FREEBIND option (or
    equivalent option on other OSes) and then retrying bind() call.
    a0f7d289
netmgr.c 37.1 KB