diff options
Diffstat (limited to 'ssh.c')
-rw-r--r-- | ssh.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ssh.c,v 1.403 2014/06/24 02:19:48 djm Exp $ */ | 1 | /* $OpenBSD: ssh.c,v 1.404 2014/06/27 16:41:56 markus Exp $ */ |
2 | /* | 2 | /* |
3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland | 4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland |
@@ -1279,8 +1279,10 @@ ssh_confirm_remote_forward(int type, u_int32_t seq, void *ctxt) | |||
1279 | Forward *rfwd = (Forward *)ctxt; | 1279 | Forward *rfwd = (Forward *)ctxt; |
1280 | 1280 | ||
1281 | /* XXX verbose() on failure? */ | 1281 | /* XXX verbose() on failure? */ |
1282 | debug("remote forward %s for: listen %d, connect %s:%d", | 1282 | debug("remote forward %s for: listen %s%s%d, connect %s:%d", |
1283 | type == SSH2_MSG_REQUEST_SUCCESS ? "success" : "failure", | 1283 | type == SSH2_MSG_REQUEST_SUCCESS ? "success" : "failure", |
1284 | rfwd->listen_host == NULL ? "" : rfwd->listen_host, | ||
1285 | rfwd->listen_host == NULL ? "" : ":", | ||
1284 | rfwd->listen_port, rfwd->connect_host, rfwd->connect_port); | 1286 | rfwd->listen_port, rfwd->connect_host, rfwd->connect_port); |
1285 | if (rfwd->listen_port == 0) { | 1287 | if (rfwd->listen_port == 0) { |
1286 | if (type == SSH2_MSG_REQUEST_SUCCESS) { | 1288 | if (type == SSH2_MSG_REQUEST_SUCCESS) { |