summaryrefslogtreecommitdiff
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 20:30:58 +0300
commit7b33aef44dc5de9d70b825d5db2def9d417e02e5 (patch)
treecbe537c366ee8ab61e97d20d0c7b833a349e384f /runopts.h
parent3d8988d28e33deffa83b97da82619e4b1ffca72e (diff)
downloaddropbear-7b33aef44dc5de9d70b825d5db2def9d417e02e5.tar.gz
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