Skip to content

Commit

Permalink
Merge branch 'simonvetter-openssl' into openssl
Browse files Browse the repository at this point in the history
Signed-off-by: R4SAS <[email protected]>
  • Loading branch information
r4sas committed Aug 13, 2021
2 parents 38a2d45 + ae49207 commit 300f97e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion libi2pd/util.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -555,7 +555,10 @@ namespace net
static const std::vector< std::pair<boost::asio::ip::address_v6::bytes_type, boost::asio::ip::address_v6::bytes_type> > reservedIPv6Ranges {
address_pair_v6("2001:db8::", "2001:db8:ffff:ffff:ffff:ffff:ffff:ffff"),
address_pair_v6("fc00::", "fdff:ffff:ffff:ffff:ffff:ffff:ffff:ffff"),
address_pair_v6("fe80::", "febf:ffff:ffff:ffff:ffff:ffff:ffff:ffff")
address_pair_v6("fe80::", "febf:ffff:ffff:ffff:ffff:ffff:ffff:ffff"),
address_pair_v6("ff00::", "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff"),
address_pair_v6("::", "::"),
address_pair_v6("::1", "::1")
};

boost::asio::ip::address_v6::bytes_type ipv6_address = host.to_v6 ().to_bytes ();
Expand Down

0 comments on commit 300f97e

Please sign in to comment.