Skip to content

Commit

Permalink
Router: log when a tunnel pool is not found for a client hash
Browse files Browse the repository at this point in the history
  • Loading branch information
eyedeekay committed Nov 29, 2023
1 parent 02aa509 commit 1d6c73a
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -359,8 +359,11 @@ public TunnelPoolSettings getInboundSettings(Hash client) {
TunnelPool pool = _clientInboundPools.get(client);
if (pool != null)
return pool.getSettings();
else
else {
if (_log.shouldLog(Log.DEBUG))
_log.debug("No inbound tunnel pool found for " + client);
return null;
}
}

public TunnelPoolSettings getOutboundSettings(Hash client) {
Expand Down

0 comments on commit 1d6c73a

Please sign in to comment.