Mercurial > dropbear
diff tcpfwd-remote.c @ 24:469950e86d0f
switching to global vars
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Tue, 20 Jul 2004 12:05:00 +0000 |
parents | d7cc5b484a2e |
children |
line wrap: on
line diff
--- a/tcpfwd-remote.c Wed Jun 23 07:24:22 2004 +0000 +++ b/tcpfwd-remote.c Tue Jul 20 12:05:00 2004 +0000 @@ -6,6 +6,7 @@ #include "buffer.h" #include "packet.h" #include "listener.h" +#include "runopts.h" #ifndef DISABLE_REMOTETCPFWD @@ -35,7 +36,7 @@ TRACE(("enter recv_msg_global_request_remotetcp")); - if (ses.opts->noremotetcp) { + if (opts.noremotetcp) { TRACE(("leave recv_msg_global_request_remotetcp: remote tcp forwarding disabled")); goto out; }