version 1.5, 1999/09/29 18:16:19 |
version 1.6, 1999/09/30 05:03:05 |
|
|
*intptr = value; |
*intptr = value; |
break; |
break; |
|
|
#ifdef WITH_ZLIB |
|
case oCompression: |
case oCompression: |
intptr = &options->compression; |
intptr = &options->compression; |
goto parse_flag; |
goto parse_flag; |
#endif /* WITH_ZLIB */ |
|
|
|
case oKeepAlives: |
case oKeepAlives: |
intptr = &options->keepalives; |
intptr = &options->keepalives; |
|
|
linenum); |
linenum); |
break; |
break; |
|
|
#ifdef WITH_ZLIB |
|
case oCompressionLevel: |
case oCompressionLevel: |
intptr = &options->compression_level; |
intptr = &options->compression_level; |
goto parse_int; |
goto parse_int; |
#endif /* WITH_ZLIB */ |
|
|
|
case oIdentityFile: |
case oIdentityFile: |
cp = strtok(NULL, WHITESPACE); |
cp = strtok(NULL, WHITESPACE); |
|
|
options->use_rsh = -1; |
options->use_rsh = -1; |
options->batch_mode = -1; |
options->batch_mode = -1; |
options->strict_host_key_checking = -1; |
options->strict_host_key_checking = -1; |
#ifdef WITH_ZLIB |
|
options->compression = -1; |
options->compression = -1; |
#endif /* WITH_ZLIB */ |
|
options->keepalives = -1; |
options->keepalives = -1; |
#ifdef WITH_ZLIB |
|
options->compression_level = -1; |
options->compression_level = -1; |
#endif /* WITH_ZLIB */ |
|
options->port = -1; |
options->port = -1; |
options->connection_attempts = -1; |
options->connection_attempts = -1; |
options->cipher = -1; |
options->cipher = -1; |
|
|
options->batch_mode = 0; |
options->batch_mode = 0; |
if (options->strict_host_key_checking == -1) |
if (options->strict_host_key_checking == -1) |
options->strict_host_key_checking = 2; /* 2 is default */ |
options->strict_host_key_checking = 2; /* 2 is default */ |
#ifdef WITH_ZLIB |
|
if (options->compression == -1) |
if (options->compression == -1) |
options->compression = 0; |
options->compression = 0; |
#endif /* WITH_ZLIB */ |
|
if (options->keepalives == -1) |
if (options->keepalives == -1) |
options->keepalives = 1; |
options->keepalives = 1; |
#ifdef WITH_ZLIB |
|
if (options->compression_level == -1) |
if (options->compression_level == -1) |
options->compression_level = 6; |
options->compression_level = 6; |
#endif /* WITH_ZLIB */ |
|
if (options->port == -1) |
if (options->port == -1) |
options->port = 0; /* Filled in ssh_connect. */ |
options->port = 0; /* Filled in ssh_connect. */ |
if (options->connection_attempts == -1) |
if (options->connection_attempts == -1) |