rakshasa / libtorrent

libTorrent BitTorrent library
http://rtorrent.net/downloads/
GNU General Public License v2.0
885 stars 209 forks source link

If during socket creation AF_INET6 failes initialize sockaddr #179

Closed glebius closed 5 years ago

glebius commented 5 years ago

as AF_INET. Otherwise any bind(2) would fail due to sockaddr address family not matching socket address family.

coveralls commented 5 years ago

Coverage Status

Coverage decreased (-0.03%) to 17.927% when pulling 43a86b2ca9556fb09f1b897f6ade4b78fb0c4b3b on glebius:master into 074f6ec51a2e4bc5c6140b4dad13c9bb56f3f0dc on rakshasa:master.