Skip to content
  • Witold Kręcicki's avatar
    netmgr: retry binding with IP_FREEBIND when EADDRNOTAVAIL is returned. · a0f7d289
    Witold Kręcicki authored and Ondřej Surý's avatar Ondřej Surý committed
    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