mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2026-11-22 20:18:19 +00:00
replaced GetIdentHash by GetAddress
This commit is contained in:
1 parent
8774a8fbc2
commit
f5ab8f2062
8 files changed
+75
-86
No files matched your search
@@ -339,9 +339,8 @@ namespace proxy {
|
||||
}
|
||||
}
|
||||
/* check dest_host really exists and inside I2P network */
|
||||
i2p::data::IdentHash identHash;
|
||||
if (str_rmatch(dest_host, ".i2p")) {
|
||||
if (!i2p::client::context.GetAddressBook ().GetIdentHash (dest_host, identHash)) {
|
||||
if (!i2p::client::context.GetAddressBook ().GetAddress (dest_host)) {
|
||||
HostNotFound(dest_host);
|
||||
return true; /* request processed */
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user