This commit is contained in:
Yves Rutschle 2018-08-04 22:34:20 +02:00
commit d7889588da
2 changed files with 6 additions and 1 deletions

View File

@ -95,7 +95,11 @@ protocol (which should usually be SSH). Default is 2s.
=item B<--on-timeout> I<protocol name>
Name of the protocol to connect to after the timeout period
is over. Default is 'ssh'.
is over. Default is to forward to the first specified
protocol. It usually makes sense to specify 'ssh' as the
timeout protocol, as the SSH specification does not tell
who is supposed to speak first and a large number of SSH
clients wait for the server to send its banner.
=item B<--transparent>

View File

@ -2,6 +2,7 @@
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include "common.h"
static char* resolve_listen(const char *hostname, const char *port) {