|
Lines 838-844
Link Here
|
| 838 |
initialize_server_options(&options); |
838 |
initialize_server_options(&options); |
| 839 |
|
839 |
|
| 840 |
/* Parse command-line arguments. */ |
840 |
/* Parse command-line arguments. */ |
| 841 |
while ((opt = getopt(ac, av, "f:p:b:k:h:g:V:u:o:dDeiqtQ46")) != -1) { |
841 |
while ((opt = getopt(ac, av, "f:p:b:k:h:g:u:o:dDeiqtQV46")) != -1) { |
| 842 |
switch (opt) { |
842 |
switch (opt) { |
| 843 |
case '4': |
843 |
case '4': |
| 844 |
IPv4or6 = AF_INET; |
844 |
IPv4or6 = AF_INET; |
|
Lines 910-918
Link Here
|
| 910 |
options.host_key_files[options.num_host_key_files++] = optarg; |
910 |
options.host_key_files[options.num_host_key_files++] = optarg; |
| 911 |
break; |
911 |
break; |
| 912 |
case 'V': |
912 |
case 'V': |
| 913 |
client_version_string = optarg; |
913 |
fprintf(stderr, |
| 914 |
/* only makes sense with inetd_flag, i.e. no listen() */ |
914 |
"%s, SSH protocols %d.%d/%d.%d, %s\n", |
| 915 |
inetd_flag = 1; |
915 |
SSH_VERSION, |
|
|
916 |
PROTOCOL_MAJOR_1, PROTOCOL_MINOR_1, |
| 917 |
PROTOCOL_MAJOR_2, PROTOCOL_MINOR_2, |
| 918 |
SSLeay_version(SSLEAY_VERSION)); |
| 919 |
if (opt == 'V') |
| 920 |
exit(0); |
| 916 |
break; |
921 |
break; |
| 917 |
case 't': |
922 |
case 't': |
| 918 |
test_flag = 1; |
923 |
test_flag = 1; |