diff options
author | Matt Johnston <matt@ucc.asn.au> | 2004-07-20 12:05:00 +0000 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2004-07-20 12:05:00 +0000 |
commit | 62aab2227c2e1aca8e9b807bc203a1d6ecb14daf (patch) | |
tree | d93c18c66b00d60d4dd5d8c1c895c987331c083c /tcpfwd-direct.c | |
parent | 9c676d0ddd4f5cc5ff271653fc1d8acf92c0d69f (diff) |
switching to global vars
--HG--
extra : convert_revision : 800073097767c2ac153ab834cbcf0121cb765118
Diffstat (limited to 'tcpfwd-direct.c')
-rw-r--r-- | tcpfwd-direct.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tcpfwd-direct.c b/tcpfwd-direct.c index 1131602..b6a2178 100644 --- a/tcpfwd-direct.c +++ b/tcpfwd-direct.c @@ -3,6 +3,7 @@ #include "dbutil.h" #include "channel.h" #include "tcpfwd-direct.h" +#include "runopts.h" #ifndef DISABLE_TCPFWD_DIRECT static int newtcpdirect(struct Channel * channel); @@ -30,7 +31,7 @@ static int newtcpdirect(struct Channel * channel) { int len; int ret = DROPBEAR_FAILURE; - if (ses.opts->nolocaltcp) { + if (opts.nolocaltcp) { TRACE(("leave newtcpdirect: local tcp forwarding disabled")); goto out; } |