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

Michael Tuexen <tue...@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tue...@freebsd.org

--- Comment #3 from Michael Tuexen <tue...@freebsd.org> ---
(In reply to rec from comment #1)
Instead of changing a system wide setting you can also use the
IPPROTO_IPV6-level socket option IPV6_V6ONLY to allow handling IPv4 traffic
using the IPv6 socket by calling in make_listen():

int no = 0;
setsockopt(s, IPPROTO_IPV6, IPV6_V6ONLY, no, sizeof(int));

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
freebsd-net@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"

Reply via email to