summaryrefslogtreecommitdiffhomepage
path: root/runopts.h
diff options
context:
space:
mode:
authorKonstantin Tokarev <ktokarev@smartlabs.tv>2015-11-30 20:30:58 +0300
committerKonstantin Tokarev <ktokarev@smartlabs.tv>2015-11-30 21:05:36 +0300
commit4dc1388ac76eee5af402eb751bcae4e38465a9ed (patch)
tree9440599f8f15f686256cfbf39df543fa8c476db4 /runopts.h
parent1b69d6d6582c75a6a667d7b2513c5dce3f5504f4 (diff)
Implemented ExitOnForwardFailure option for local and remote forwarding.
Diffstat (limited to 'runopts.h')
-rw-r--r--runopts.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/runopts.h b/runopts.h
index 62c9bf1..4870c9c 100644
--- a/runopts.h
+++ b/runopts.h
@@ -139,6 +139,9 @@ typedef struct cli_runopts {
#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