diff options
author | Damien Miller <djm@mindrot.org> | 2002-02-05 12:13:41 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2002-02-05 12:13:41 +1100 |
commit | c5d8635d6a9425289bd0cbfa83b90a4e42e6a72a (patch) | |
tree | 9a431368be8d4ee5e8742c44870b34a3dfd457f7 /servconf.c | |
parent | 43cba34b649a2df8c170e17a5655d060830a386e (diff) |
- markus@cvs.openbsd.org 2002/01/29 14:32:03
[auth2.c auth.c auth-options.c auth-rhosts.c auth-rh-rsa.c canohost.c servconf.c servconf.h session.c sshd.8 sshd_config]
s/ReverseMappingCheck/VerifyReverseMapping/ and avoid confusion; ok stevesk@
Diffstat (limited to 'servconf.c')
-rw-r--r-- | servconf.c | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/servconf.c b/servconf.c index e33d65a5e..8273df54c 100644 --- a/servconf.c +++ b/servconf.c | |||
@@ -10,7 +10,7 @@ | |||
10 | */ | 10 | */ |
11 | 11 | ||
12 | #include "includes.h" | 12 | #include "includes.h" |
13 | RCSID("$OpenBSD: servconf.c,v 1.99 2002/01/27 14:57:46 stevesk Exp $"); | 13 | RCSID("$OpenBSD: servconf.c,v 1.100 2002/01/29 14:32:03 markus Exp $"); |
14 | 14 | ||
15 | #if defined(KRB4) || defined(KRB5) | 15 | #if defined(KRB4) || defined(KRB5) |
16 | #include <krb.h> | 16 | #include <krb.h> |
@@ -105,7 +105,7 @@ initialize_server_options(ServerOptions *options) | |||
105 | options->max_startups_rate = -1; | 105 | options->max_startups_rate = -1; |
106 | options->max_startups = -1; | 106 | options->max_startups = -1; |
107 | options->banner = NULL; | 107 | options->banner = NULL; |
108 | options->reverse_mapping_check = -1; | 108 | options->verify_reverse_mapping = -1; |
109 | options->client_alive_interval = -1; | 109 | options->client_alive_interval = -1; |
110 | options->client_alive_count_max = -1; | 110 | options->client_alive_count_max = -1; |
111 | options->authorized_keys_file = NULL; | 111 | options->authorized_keys_file = NULL; |
@@ -220,8 +220,8 @@ fill_default_server_options(ServerOptions *options) | |||
220 | options->max_startups_rate = 100; /* 100% */ | 220 | options->max_startups_rate = 100; /* 100% */ |
221 | if (options->max_startups_begin == -1) | 221 | if (options->max_startups_begin == -1) |
222 | options->max_startups_begin = options->max_startups; | 222 | options->max_startups_begin = options->max_startups; |
223 | if (options->reverse_mapping_check == -1) | 223 | if (options->verify_reverse_mapping == -1) |
224 | options->reverse_mapping_check = 0; | 224 | options->verify_reverse_mapping = 0; |
225 | if (options->client_alive_interval == -1) | 225 | if (options->client_alive_interval == -1) |
226 | options->client_alive_interval = 0; | 226 | options->client_alive_interval = 0; |
227 | if (options->client_alive_count_max == -1) | 227 | if (options->client_alive_count_max == -1) |
@@ -264,7 +264,7 @@ typedef enum { | |||
264 | sAllowUsers, sDenyUsers, sAllowGroups, sDenyGroups, | 264 | sAllowUsers, sDenyUsers, sAllowGroups, sDenyGroups, |
265 | sIgnoreUserKnownHosts, sCiphers, sMacs, sProtocol, sPidFile, | 265 | sIgnoreUserKnownHosts, sCiphers, sMacs, sProtocol, sPidFile, |
266 | sGatewayPorts, sPubkeyAuthentication, sXAuthLocation, sSubsystem, sMaxStartups, | 266 | sGatewayPorts, sPubkeyAuthentication, sXAuthLocation, sSubsystem, sMaxStartups, |
267 | sBanner, sReverseMappingCheck, sHostbasedAuthentication, | 267 | sBanner, sVerifyReverseMapping, sHostbasedAuthentication, |
268 | sHostbasedUsesNameFromPacketOnly, sClientAliveInterval, | 268 | sHostbasedUsesNameFromPacketOnly, sClientAliveInterval, |
269 | sClientAliveCountMax, sAuthorizedKeysFile, sAuthorizedKeysFile2, | 269 | sClientAliveCountMax, sAuthorizedKeysFile, sAuthorizedKeysFile2, |
270 | sDeprecated | 270 | sDeprecated |
@@ -336,7 +336,8 @@ static struct { | |||
336 | { "subsystem", sSubsystem }, | 336 | { "subsystem", sSubsystem }, |
337 | { "maxstartups", sMaxStartups }, | 337 | { "maxstartups", sMaxStartups }, |
338 | { "banner", sBanner }, | 338 | { "banner", sBanner }, |
339 | { "reversemappingcheck", sReverseMappingCheck }, | 339 | { "verifyreversemapping", sVerifyReverseMapping }, |
340 | { "reversemappingcheck", sVerifyReverseMapping }, | ||
340 | { "clientaliveinterval", sClientAliveInterval }, | 341 | { "clientaliveinterval", sClientAliveInterval }, |
341 | { "clientalivecountmax", sClientAliveCountMax }, | 342 | { "clientalivecountmax", sClientAliveCountMax }, |
342 | { "authorizedkeysfile", sAuthorizedKeysFile }, | 343 | { "authorizedkeysfile", sAuthorizedKeysFile }, |
@@ -687,8 +688,8 @@ parse_flag: | |||
687 | intptr = &options->gateway_ports; | 688 | intptr = &options->gateway_ports; |
688 | goto parse_flag; | 689 | goto parse_flag; |
689 | 690 | ||
690 | case sReverseMappingCheck: | 691 | case sVerifyReverseMapping: |
691 | intptr = &options->reverse_mapping_check; | 692 | intptr = &options->verify_reverse_mapping; |
692 | goto parse_flag; | 693 | goto parse_flag; |
693 | 694 | ||
694 | case sLogFacility: | 695 | case sLogFacility: |