mirror of
https://github.com/PurpleI2P/i2pd-tools.git
synced 2025-05-21 23:01:49 +02:00
fixed build error for LocalRouterInfo and SSU2
This commit is contained in:
parent
4835013d9e
commit
aadc780b44
3 changed files with 15 additions and 12 deletions
|
@ -319,7 +319,7 @@ int main(int argc, char * argv[])
|
|||
delete [] k;
|
||||
}
|
||||
|
||||
RouterInfo ri(infofile);
|
||||
LocalRouterInfo ri(infofile);
|
||||
auto ident = ri.GetIdentHash();
|
||||
|
||||
|
||||
|
@ -365,7 +365,7 @@ int main(int argc, char * argv[])
|
|||
|
||||
if (verbose) std::cout << "load " << infofile << std::endl;
|
||||
|
||||
RouterInfo ri(infofile);
|
||||
LocalRouterInfo ri(infofile);
|
||||
auto sig = ri.GetProperty(ROUTER_INFO_PROPERTY_FAMILY_SIG);
|
||||
if (ri.GetProperty(ROUTER_INFO_PROPERTY_FAMILY) != fam) {
|
||||
std::cout << infofile << " does not belong to " << fam << std::endl;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue