[Bug 254212] can't initialize an if_wg interface with IPv6 disabled

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Apr 19 21:55:59 UTC 2021


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254212

--- Comment #7 from Jason A. Donenfeld <jason at zx2c4.com> ---
> Is it possible to have wg_socket_bind() succeed if it's able to bind at least one of the sockets, assuming that sobind() returns EADDRNOTAVAIL for the other?

Nice idea. That seems like a sensible plan and good compromise of conditions.
Implemented here:
https://git.zx2c4.com/wireguard-freebsd/commit/?id=2b2bd4ef95c2bbbb0da27005278880b4b1c940e0

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list