|
Lines 786-791
static const struct multistate multistate_yesnoask[] = {
Link Here
|
| 786 |
{ "ask", 2 }, |
786 |
{ "ask", 2 }, |
| 787 |
{ NULL, -1 } |
787 |
{ NULL, -1 } |
| 788 |
}; |
788 |
}; |
|
|
789 |
static const struct multistate multistate_yesnoexplicit[] = { |
| 790 |
{ "true", 1 }, |
| 791 |
{ "false", 0 }, |
| 792 |
{ "yes", 1 }, |
| 793 |
{ "no", 0 }, |
| 794 |
{ "explicit", 2 }, |
| 795 |
{ NULL, -1 } |
| 796 |
}; |
| 789 |
static const struct multistate multistate_strict_hostkey[] = { |
797 |
static const struct multistate multistate_strict_hostkey[] = { |
| 790 |
{ "true", SSH_STRICT_HOSTKEY_YES }, |
798 |
{ "true", SSH_STRICT_HOSTKEY_YES }, |
| 791 |
{ "false", SSH_STRICT_HOSTKEY_OFF }, |
799 |
{ "false", SSH_STRICT_HOSTKEY_OFF }, |
|
Lines 1454-1460
parse_keytypes:
Link Here
|
| 1454 |
|
1462 |
|
| 1455 |
case oIdentitiesOnly: |
1463 |
case oIdentitiesOnly: |
| 1456 |
intptr = &options->identities_only; |
1464 |
intptr = &options->identities_only; |
| 1457 |
goto parse_flag; |
1465 |
multistate_ptr = multistate_yesnoexplicit; |
|
|
1466 |
goto parse_multistate; |
| 1458 |
|
1467 |
|
| 1459 |
case oServerAliveInterval: |
1468 |
case oServerAliveInterval: |
| 1460 |
intptr = &options->server_alive_interval; |
1469 |
intptr = &options->server_alive_interval; |