https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254212
--- Comment #6 from Mark Johnston <[email protected]> --- (In reply to Jason A. Donenfeld from comment #5) Indeed, I'm not really sure why we prohibit bind() if no addresses from the corresponding family are assigned. That behaviour appears to predate FreeBSD even. It might be just a matter of removing the corresponding checks. OTOH, it's perfectly valid to disable the use of either v4 or v6 in system (it's even possible to compile corresponding support out of the kernel), and in that case it seems rather odd to require that both sockets bind successfully. 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? -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ [email protected] mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "[email protected]"
