Respect for netId option in api.cpp #696

pull/777/head
Darknet Villain 8 years ago
parent a8bd87938d
commit b0b1c5af71

@ -33,6 +33,10 @@ namespace api
#else
i2p::crypto::InitCrypto (true);
#endif
int netID; i2p::config::GetOption("netid", netID);
i2p::context.SetNetID (netID);
i2p::context.Init ();
}

Loading…
Cancel
Save