Browse Source

[FS] read tunnels configs which ends with .conf only

Signed-off-by: R4SAS <r4sas@i2pmail.org>
pull/1515/head
R4SAS 4 years ago
parent
commit
5700e18257
Signed by: r4sas
GPG Key ID: 66F6C87B98EBCFE2
  1. 1
      libi2pd_client/ClientContext.cpp

1
libi2pd_client/ClientContext.cpp

@ -490,6 +490,7 @@ namespace client @@ -490,6 +490,7 @@ namespace client
{
for (auto& it: files)
{
if (it.substr(it.size() - 5) != ".conf") continue; // skip files which not ends with ".conf"
LogPrint(eLogDebug, "Clients: tunnels extra config file: ", it);
ReadTunnels (it, numClientTunnels, numServerTunnels);
}

Loading…
Cancel
Save