summaryrefslogtreecommitdiff
path: root/servconf.c
diff options
context:
space:
mode:
Diffstat (limited to 'servconf.c')
-rw-r--r--servconf.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/servconf.c b/servconf.c
index 21b371c84..b2a60fd6c 100644
--- a/servconf.c
+++ b/servconf.c
@@ -1,5 +1,5 @@
1 1
2/* $OpenBSD: servconf.c,v 1.233 2012/12/02 20:46:11 djm Exp $ */ 2/* $OpenBSD: servconf.c,v 1.234 2013/02/06 00:20:42 dtucker Exp $ */
3/* 3/*
4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
5 * All rights reserved 5 * All rights reserved
@@ -256,11 +256,11 @@ fill_default_server_options(ServerOptions *options)
256 if (options->gateway_ports == -1) 256 if (options->gateway_ports == -1)
257 options->gateway_ports = 0; 257 options->gateway_ports = 0;
258 if (options->max_startups == -1) 258 if (options->max_startups == -1)
259 options->max_startups = 10; 259 options->max_startups = 100;
260 if (options->max_startups_rate == -1) 260 if (options->max_startups_rate == -1)
261 options->max_startups_rate = 100; /* 100% */ 261 options->max_startups_rate = 30; /* 30% */
262 if (options->max_startups_begin == -1) 262 if (options->max_startups_begin == -1)
263 options->max_startups_begin = options->max_startups; 263 options->max_startups_begin = 10;
264 if (options->max_authtries == -1) 264 if (options->max_authtries == -1)
265 options->max_authtries = DEFAULT_AUTH_FAIL_MAX; 265 options->max_authtries = DEFAULT_AUTH_FAIL_MAX;
266 if (options->max_sessions == -1) 266 if (options->max_sessions == -1)