mirror of
https://github.com/clearml/dropbear
synced 2025-02-07 05:17:28 +00:00
Turn sendaddr, listenaddr and request_listenaddr local variables into char *
This commit is contained in:
parent
1601a657d4
commit
61726df20c
6
tcpfwd.h
6
tcpfwd.h
@ -31,16 +31,16 @@ struct TCPListener {
|
||||
|
||||
/* For a direct-tcpip request, it's the addr/port we want the other
|
||||
* end to connect to */
|
||||
unsigned char *sendaddr;
|
||||
char *sendaddr;
|
||||
unsigned int sendport;
|
||||
|
||||
/* This is the address/port that we listen on. The address has special
|
||||
* meanings as per the rfc, "" for all interfaces, "localhost" for
|
||||
* localhost, or a normal interface name. */
|
||||
unsigned char *listenaddr;
|
||||
char *listenaddr;
|
||||
unsigned int listenport;
|
||||
/* The address that the remote host asked to listen on */
|
||||
unsigned char *request_listenaddr;
|
||||
char *request_listenaddr;
|
||||
|
||||
const struct ChanType *chantype;
|
||||
enum {direct, forwarded} tcp_type;
|
||||
|
Loading…
Reference in New Issue
Block a user