mirror of
https://github.com/PurpleI2P/i2pd-tools.git
synced 2024-12-06 19:26:18 +01:00
fixed build error
This commit is contained in:
+1
-1
Submodule i2pd updated: 3925540517...ac10f3055d
+7
-1
@@ -75,9 +75,15 @@ int main(int argc, char * argv[])
|
||||
i2p::data::RouterInfo ri(fname);
|
||||
|
||||
std::vector<std::shared_ptr<const i2p::data::RouterInfo::Address> > addrs;
|
||||
auto a = ri.GetNTCP2Address(!ipv6);
|
||||
auto a = ri.GetPublishedNTCP2V4Address();
|
||||
if(a)
|
||||
addrs.push_back(a);
|
||||
if (ipv6)
|
||||
{
|
||||
a = ri.GetPublishedNTCP2V6Address();
|
||||
if(a)
|
||||
addrs.push_back(a);
|
||||
}
|
||||
a = ri.GetSSUAddress(!ipv6);
|
||||
if(a)
|
||||
addrs.push_back(a);
|
||||
|
||||
Reference in New Issue
Block a user