diff options
author | Matt Johnston <matt@ucc.asn.au> | 2012-05-09 21:09:34 +0800 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2012-05-09 21:09:34 +0800 |
commit | 1984aabc950904a9717735ae82b0bbf7d89d3478 (patch) | |
tree | 67514df54535a180f6b5eb3753983556696ebff4 /tcpfwd.h | |
parent | f4c4ca64a827661a392749a0684e59ba1556447e (diff) | |
download | dropbear-1984aabc950904a9717735ae82b0bbf7d89d3478.tar.gz |
Server shouldn't return "localhost" in response to -R forward connections
if that wasn't what the client requested.
Diffstat (limited to 'tcpfwd.h')
-rw-r--r-- | tcpfwd.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -39,6 +39,8 @@ struct TCPListener { * localhost, or a normal interface name. */ unsigned char *listenaddr; unsigned int listenport; + /* The address that the remote host asked to listen on */ + unsigned char *request_listenaddr;; const struct ChanType *chantype; enum {direct, forwarded} tcp_type; |