diff cli-tcpfwd.c @ 66:38c3146aa23d

Some more sanity-checking of args, and just warn and ignore OpenSSH args
author Matt Johnston <matt@ucc.asn.au>
date Thu, 12 Aug 2004 14:19:05 +0000
parents efb5e0b335cf
children b0316ce64e4b
line wrap: on
line diff
--- a/cli-tcpfwd.c	Thu Aug 12 13:54:31 2004 +0000
+++ b/cli-tcpfwd.c	Thu Aug 12 14:19:05 2004 +0000
@@ -32,6 +32,8 @@
 
 	int ret;
 
+	TRACE(("enter setup_localtcp"));
+
 	if (cli_opts.localfwds == NULL) {
 		TRACE(("cli_opts.localfwds == NULL"));
 	}
@@ -49,6 +51,7 @@
 
 		cli_opts.localfwds = cli_opts.localfwds->next;
 	}
+	TRACE(("leave setup_localtcp"));
 
 }
 
@@ -96,6 +99,8 @@
 
 	struct TCPFwdList * iter = NULL;
 
+	TRACE(("enter setup_remotetcp"));
+
 	if (cli_opts.remotefwds == NULL) {
 		TRACE(("cli_opts.remotefwds == NULL"));
 	}
@@ -106,6 +111,7 @@
 		send_msg_global_request_remotetcp(iter->listenport);
 		iter = iter->next;
 	}
+	TRACE(("leave setup_remotetcp"));
 }
 
 static int newtcpforwarded(struct Channel * channel) {