diff runopts.h @ 1206:2907c658fa76

Implemented ExitOnForwardFailure option for local and remote forwarding.
author Konstantin Tokarev <ktokarev@smartlabs.tv>
date Mon, 30 Nov 2015 20:30:58 +0300
parents 089b8e91472b
children 81063d78fe69
line wrap: on
line diff
--- a/runopts.h	Mon Nov 30 20:36:15 2015 +0300
+++ b/runopts.h	Mon Nov 30 20:30:58 2015 +0300
@@ -139,6 +139,9 @@
 #ifdef ENABLE_CLI_PUBKEY_AUTH
 	m_list *privkeys; /* Keys to use for public-key auth */
 #endif
+#ifdef ENABLE_CLI_ANYTCPFWD
+	int exit_on_fwd_failure;
+#endif
 #ifdef ENABLE_CLI_REMOTETCPFWD
 	m_list * remotefwds;
 #endif