mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 03:37:49 +02:00
update right ipv6 only
This commit is contained in:
parent
fef4f13b8f
commit
ea19802d3f
2 changed files with 4 additions and 1 deletions
|
@ -449,6 +449,7 @@ namespace net
|
|||
{
|
||||
boost::asio::ip::address_v6::bytes_type bytes;
|
||||
memcpy (bytes.data (), &sa->sin6_addr, 16);
|
||||
freeifaddrs(addrs);
|
||||
return boost::asio::ip::address_v6 (bytes);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue