Browse Source

Merge pull request #777 from l-n-s/fix_api_netid

Respect for netId option in api.cpp #696
pull/779/head
orignal 8 years ago committed by GitHub
parent
commit
90d02234c7
  1. 4
      api.cpp

4
api.cpp

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

Loading…
Cancel
Save