|
Lines 118-123
Link Here
|
| 118 |
options->max_startups_rate = -1; |
118 |
options->max_startups_rate = -1; |
| 119 |
options->max_startups = -1; |
119 |
options->max_startups = -1; |
| 120 |
options->banner = NULL; |
120 |
options->banner = NULL; |
|
|
121 |
options->proto_version_minor = -1; |
| 122 |
options->proto_version_major = -1; |
| 123 |
options->software_version = NULL; |
| 124 |
options->version_comments = NULL; |
| 121 |
options->verify_reverse_mapping = -1; |
125 |
options->verify_reverse_mapping = -1; |
| 122 |
options->client_alive_interval = -1; |
126 |
options->client_alive_interval = -1; |
| 123 |
options->client_alive_count_max = -1; |
127 |
options->client_alive_count_max = -1; |
|
Lines 301-306
Link Here
|
| 301 |
sBanner, sVerifyReverseMapping, sHostbasedAuthentication, |
305 |
sBanner, sVerifyReverseMapping, sHostbasedAuthentication, |
| 302 |
sHostbasedUsesNameFromPacketOnly, sClientAliveInterval, |
306 |
sHostbasedUsesNameFromPacketOnly, sClientAliveInterval, |
| 303 |
sClientAliveCountMax, sAuthorizedKeysFile, sAuthorizedKeysFile2, |
307 |
sClientAliveCountMax, sAuthorizedKeysFile, sAuthorizedKeysFile2, |
|
|
308 |
sProtoVersionMinor, sProtoVersionMajor, |
| 309 |
sSoftwareVersion, sVersionComments, |
| 304 |
sUsePrivilegeSeparation, |
310 |
sUsePrivilegeSeparation, |
| 305 |
sDeprecated |
311 |
sDeprecated |
| 306 |
} ServerOpCodes; |
312 |
} ServerOpCodes; |
|
Lines 380-385
Link Here
|
| 380 |
{ "authorizedkeysfile", sAuthorizedKeysFile }, |
386 |
{ "authorizedkeysfile", sAuthorizedKeysFile }, |
| 381 |
{ "authorizedkeysfile2", sAuthorizedKeysFile2 }, |
387 |
{ "authorizedkeysfile2", sAuthorizedKeysFile2 }, |
| 382 |
{ "useprivilegeseparation", sUsePrivilegeSeparation}, |
388 |
{ "useprivilegeseparation", sUsePrivilegeSeparation}, |
|
|
389 |
{ "protoversionminor", sProtoVersionMinor}, |
| 390 |
{ "protoversionmajor", sProtoVersionMajor}, |
| 391 |
{ "softwareversion", sSoftwareVersion}, |
| 392 |
{ "versioncomments", sVersionComments}, |
| 383 |
{ NULL, sBadOption } |
393 |
{ NULL, sBadOption } |
| 384 |
}; |
394 |
}; |
| 385 |
|
395 |
|
|
Lines 697-702
Link Here
|
| 697 |
intptr = &options->x11_display_offset; |
707 |
intptr = &options->x11_display_offset; |
| 698 |
goto parse_int; |
708 |
goto parse_int; |
| 699 |
|
709 |
|
|
|
710 |
case sProtoVersionMajor: |
| 711 |
intptr = &options->proto_version_major; |
| 712 |
goto parse_int; |
| 713 |
|
| 714 |
case sProtoVersionMinor: |
| 715 |
intptr = &options->proto_version_minor; |
| 716 |
goto parse_int; |
| 717 |
|
| 718 |
case sSoftwareVersion: |
| 719 |
arg = strdelim(&cp); |
| 720 |
options->software_version = xstrdup(arg); |
| 721 |
break; |
| 722 |
|
| 723 |
case sVersionComments: |
| 724 |
arg = strlineend(&cp); |
| 725 |
options->version_comments = xstrdup(arg); |
| 726 |
break; |
| 727 |
|
| 700 |
case sX11UseLocalhost: |
728 |
case sX11UseLocalhost: |
| 701 |
intptr = &options->x11_use_localhost; |
729 |
intptr = &options->x11_use_localhost; |
| 702 |
goto parse_flag; |
730 |
goto parse_flag; |