summaryrefslogtreecommitdiff
path: root/ssh.c
diff options
context:
space:
mode:
Diffstat (limited to 'ssh.c')
-rw-r--r--ssh.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ssh.c b/ssh.c
index 1f025c784..703cb8bd3 100644
--- a/ssh.c
+++ b/ssh.c
@@ -876,6 +876,8 @@ ssh_init_forwarding(void)
876 for (i = 0; i < options.num_remote_forwards; i++) { 876 for (i = 0; i < options.num_remote_forwards; i++) {
877 debug("Remote connections from %.200s:%d forwarded to " 877 debug("Remote connections from %.200s:%d forwarded to "
878 "local address %.200s:%d", 878 "local address %.200s:%d",
879 (options.remote_forwards[i].listen_host == NULL) ?
880 (options.gateway_ports ? "*" : "LOCALHOST") :
879 options.remote_forwards[i].listen_host, 881 options.remote_forwards[i].listen_host,
880 options.remote_forwards[i].listen_port, 882 options.remote_forwards[i].listen_port,
881 options.remote_forwards[i].connect_host, 883 options.remote_forwards[i].connect_host,