diff options
Diffstat (limited to 'ssh.c')
-rw-r--r-- | ssh.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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, |