Implemented ExitOnForwardFailure option for local and remote forwarding.

This commit is contained in:
Konstantin Tokarev
2015-11-30 20:30:58 +03:00
parent 1b69d6d658
commit 4dc1388ac7
4 changed files with 53 additions and 3 deletions

View File

@@ -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