summaryrefslogtreecommitdiffhomepage
path: root/default_options.h
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2017-06-27 22:20:38 +0800
committerMatt Johnston <matt@ucc.asn.au>2017-06-27 22:20:38 +0800
commit74ace058a634d3761725ba7f326ba89142029c39 (patch)
treebf747233b54274e9a21eb89e1c5edce198e65297 /default_options.h
parent96382d52ab5edc107adaf4464127f5e9974e40eb (diff)
Use MAX_AUTH_TRIES rather than DEFAULT_AUTH_TRIES, don't limit argument range
Diffstat (limited to 'default_options.h')
-rw-r--r--default_options.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/default_options.h b/default_options.h
index 84adfab..039d785 100644
--- a/default_options.h
+++ b/default_options.h
@@ -380,17 +380,12 @@ Homedir is prepended unless path begins with / */
#define MAX_UNAUTH_CLIENTS 30
#endif
-/* Maximum number of failed authentication tries (server option) */
+/* Default maximum number of failed authentication tries (server option) */
+/* -T runtime option overrides */
#ifndef MAX_AUTH_TRIES
#define MAX_AUTH_TRIES 10
#endif
-/* Default maximum number of failed authentication tries.
- * defaults to MAX_AUTH_TRIES */
-#ifndef DEFAULT_AUTH_TRIES
-#define DEFAULT_AUTH_TRIES MAX_AUTH_TRIES
-#endif
-
/* The default file to store the daemon's process ID, for shutdown
scripts etc. This can be overridden with the -P flag */
#ifndef DROPBEAR_PIDFILE