" --predict=adaptive local echo for slower links [default]\n"
"-a --predict=always use local echo even on fast links\n"
"-n --predict=never never use local echo\n"
" --predict=adaptive local echo for slower links [default]\n"
"-a --predict=always use local echo even on fast links\n"
"-n --predict=never never use local echo\n"
string ssh = "ssh";
string predict, port_request, ssh_port;
int help=0, version=0, fake_proxy=0, term_init=1;
string ssh = "ssh";
string predict, port_request, ssh_port;
int help=0, version=0, fake_proxy=0, term_init=1;
- int c = getopt_long( argc, argv, "anp:P:",
+ int c = getopt_long( argc, argv, "6anp:P:",
memset( &hints, 0, sizeof( hints ) );
hints.ai_socktype = SOCK_STREAM;
memset( &hints, 0, sizeof( hints ) );
hints.ai_socktype = SOCK_STREAM;
// loop through all the results and connect to the first we can
for ( p = servinfo; p != NULL || try_family == AF_INET; p = p->ai_next ) {
if(p == NULL && try_family == AF_INET) { // start over and try AF_INET6
// loop through all the results and connect to the first we can
for ( p = servinfo; p != NULL || try_family == AF_INET; p = p->ai_next ) {
if(p == NULL && try_family == AF_INET) { // start over and try AF_INET6