diff runopts.h @ 1207:81063d78fe69

Merge pull request #16 from annulen/openssh_options Implemented ExitOnForwardFailure option for local and remote forwarding.
author Matt Johnston <matt@ucc.asn.au>
date Tue, 15 Dec 2015 21:30:59 +0800
parents 86a9e0204c03 2907c658fa76
children 64a50eac1030
line wrap: on
line diff
--- a/runopts.h	Fri Dec 11 22:12:12 2015 +0800
+++ b/runopts.h	Tue Dec 15 21:30:59 2015 +0800
@@ -140,6 +140,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