CVSROOT:        /cvs
Module name:    ports
Changes by:     j...@cvs.openbsd.org    2025/09/01 13:44:27

Modified files:
        net/libtorrent : Makefile 
        net/libtorrent/patches: patch-src_net_socket_fd_cc 

Log message:
Also restrict libtorrent's UDP sockets to IPv4-only

libtorrent (and thus rtorrent) assumes sockets with IPv4-mapped IPv6
addresses, but this doesn't work on OpenBSD. Like already done for TCP,
restrict UDP sockets to IPv4-only.

Admittedly this is not ideal, but can rtorrent/libtorrent be easily
adapted to use both IPv4-only and IPv6-only sockets to talk to peers and
trackers?  Probably something to discuss with upstream.

Issue reported by Jan Stary, ports patch by Thomas L.

Reply via email to