mirror of
https://github.com/oxen-io/lokinet.git
synced 2024-10-31 09:20:21 +00:00
Merge pull request #678 from majestrate/disable-rpc
actually set config for network
This commit is contained in:
commit
10df3bd4b3
@ -792,6 +792,9 @@ namespace llarp
|
|||||||
LogError("failed to bind inbound link on ", key, " port ", port);
|
LogError("failed to bind inbound link on ", key, " port ", port);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// set network config
|
||||||
|
netConfig = conf->network.netConfig;
|
||||||
|
|
||||||
// Network config
|
// Network config
|
||||||
if(conf->network.enableProfiling.has_value())
|
if(conf->network.enableProfiling.has_value())
|
||||||
{
|
{
|
||||||
@ -845,6 +848,7 @@ namespace llarp
|
|||||||
llarp::LogError("invalid key for strict-connect: ", val);
|
llarp::LogError("invalid key for strict-connect: ", val);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// API config
|
// API config
|
||||||
enableRPCServer = conf->api.enableRPCServer;
|
enableRPCServer = conf->api.enableRPCServer;
|
||||||
rpcBindAddr = conf->api.rpcBindAddr;
|
rpcBindAddr = conf->api.rpcBindAddr;
|
||||||
|
Loading…
Reference in New Issue
Block a user