summaryrefslogtreecommitdiffhomepage
path: root/cli-tcpfwd.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2004-08-12 14:19:05 +0000
committerMatt Johnston <matt@ucc.asn.au>2004-08-12 14:19:05 +0000
commit986a9326365c77da6a1f3674ce86d7417d8e6b9c (patch)
tree7ab516c8d74acd4d1cde46de4c3292397a883a9b /cli-tcpfwd.c
parent9ea7c3bfcf5fdf3728471b7325278fa59d80fc54 (diff)
Some more sanity-checking of args, and just warn and ignore OpenSSH args
--HG-- extra : convert_revision : 94cf58a3a50848156aaaf757d0a72163c0355406
Diffstat (limited to 'cli-tcpfwd.c')
-rw-r--r--cli-tcpfwd.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/cli-tcpfwd.c b/cli-tcpfwd.c
index f32a53f..52268b9 100644
--- a/cli-tcpfwd.c
+++ b/cli-tcpfwd.c
@@ -32,6 +32,8 @@ void setup_localtcp() {
int ret;
+ TRACE(("enter setup_localtcp"));
+
if (cli_opts.localfwds == NULL) {
TRACE(("cli_opts.localfwds == NULL"));
}
@@ -49,6 +51,7 @@ void setup_localtcp() {
cli_opts.localfwds = cli_opts.localfwds->next;
}
+ TRACE(("leave setup_localtcp"));
}
@@ -96,6 +99,8 @@ void setup_remotetcp() {
struct TCPFwdList * iter = NULL;
+ TRACE(("enter setup_remotetcp"));
+
if (cli_opts.remotefwds == NULL) {
TRACE(("cli_opts.remotefwds == NULL"));
}
@@ -106,6 +111,7 @@ void setup_remotetcp() {
send_msg_global_request_remotetcp(iter->listenport);
iter = iter->next;
}
+ TRACE(("leave setup_remotetcp"));
}
static int newtcpforwarded(struct Channel * channel) {