mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 03:37:49 +02:00
handle 'reservedrange' param properly
This commit is contained in:
parent
ca9782dd0d
commit
34d75b08dd
3 changed files with 8 additions and 4 deletions
|
@ -160,6 +160,10 @@ namespace util
|
|||
|
||||
int netID; i2p::config::GetOption("netid", netID);
|
||||
i2p::context.SetNetID (netID);
|
||||
|
||||
bool checkReserved; i2p::config::GetOption("reservedrange", checkReserved);
|
||||
i2p::transport::transports.SetCheckReserved(checkReserved);
|
||||
|
||||
i2p::context.Init ();
|
||||
|
||||
i2p::transport::InitTransports ();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue