From 986a9326365c77da6a1f3674ce86d7417d8e6b9c Mon Sep 17 00:00:00 2001 From: Matt Johnston Date: Thu, 12 Aug 2004 14:19:05 +0000 Subject: Some more sanity-checking of args, and just warn and ignore OpenSSH args --HG-- extra : convert_revision : 94cf58a3a50848156aaaf757d0a72163c0355406 --- cli-tcpfwd.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'cli-tcpfwd.c') 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) { -- cgit v1.2.3