mirror of
https://github.com/PurpleI2P/i2pd-tools.git
synced 2025-01-22 13:27:17 +01:00
fixed build error
This commit is contained in:
parent
86234df388
commit
daa82fc5eb
2
i2pd
2
i2pd
|
@ -1 +1 @@
|
|||
Subproject commit 3925540517d31d62d1ad89158e2a075c9d539463
|
||||
Subproject commit ac10f3055d648c8718c668ae772d4f94c0145503
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue