cli_bind_address_connect

* replaces -b dummy option in dbclient to be similar with openssh -b option
* useful in multi-wan connections
This commit is contained in:
houseofkodai
2017-05-01 08:26:15 +05:30
committed by Matt Johnston
parent 917722257d
commit 9c7ecf6d14
7 changed files with 42 additions and 10 deletions

View File

@@ -30,7 +30,7 @@ typedef void(*connect_callback)(int result, int sock, void* data, const char* er
/* Always returns a progress connection, if it fails it will call the callback at a later point */
struct dropbear_progress_connection * connect_remote (const char* remotehost, const char* remoteport,
connect_callback cb, void *cb_data);
connect_callback cb, void *cb_data, char* bind_address);
/* Sets up for select() */
void set_connect_fds(fd_set *writefd);