diff netio.h @ 1465:f7a53832501d

cli_bind_address_connect * replaces -b dummy option in dbclient to be similar with openssh -b option * useful in multi-wan connections
author houseofkodai <karthik@houseofkodai.in>
date Mon, 01 May 2017 08:26:15 +0530
parents ad637c9e0f6f
children f787f60f8e45
line wrap: on
line diff
--- a/netio.h	Thu Jan 25 19:51:41 2018 +0530
+++ b/netio.h	Mon May 01 08:26:15 2017 +0530
@@ -30,7 +30,7 @@
 
 /* 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);