- tcpfwd bindaddr support against trunk. needs merging.

--HG--
extra : convert_revision : 658fd03abd21e0da7c4c89b9fff9dc693c72daae
This commit is contained in:
Matt Johnston
2010-02-27 11:51:19 +00:00
parent 8174a2f27b
commit 3b07844548
3 changed files with 80 additions and 36 deletions

View File

@@ -48,6 +48,7 @@ struct TCPListener {
struct TCPFwdEntry {
const unsigned char* connectaddr;
unsigned int connectport;
const unsigned char* listenaddr;
unsigned int listenport;
unsigned int have_reply; /* is set to 1 after a reply has been received
when setting up the forwarding */