summaryrefslogtreecommitdiffhomepage
path: root/runopts.h
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2015-12-15 21:30:59 +0800
committerMatt Johnston <matt@ucc.asn.au>2015-12-15 21:30:59 +0800
commited21e7523580e5139bd5cedd6dea3cd5cb3f3d98 (patch)
tree85896c40cae38cb90420b0d7f75d0ca20abb5618 /runopts.h
parent87d2c9c05ce03bd8dd549218f4a67b6569a34fa5 (diff)
parent4dc1388ac76eee5af402eb751bcae4e38465a9ed (diff)
Merge pull request #16 from annulen/openssh_options
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 7d6ae06..92c105b 100644
--- a/runopts.h
+++ b/runopts.h
@@ -140,6 +140,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