mirror of
https://github.com/wownero/wownero.git
synced 2026-10-24 02:48:34 +02:00
Disable/fix ports with I2P
This commit is contained in:
committed by
Lee *!* Clagett
parent
8eab181fe1
commit
98ee46f249
+1
-1
@@ -81,7 +81,7 @@ namespace net
|
||||
if (host_str_ref.ends_with(".onion"))
|
||||
return tor_address::make(address, default_port);
|
||||
if (host_str_ref.ends_with(".i2p"))
|
||||
return i2p_address::make(address, default_port);
|
||||
return i2p_address::make(address);
|
||||
|
||||
boost::system::error_code ec;
|
||||
boost::asio::ip::address_v6 v6 = boost::asio::ip::address_v6::from_string(host_str, ec);
|
||||
|
||||
Reference in New Issue
Block a user