diff default_options.h @ 1445:a3a96dbf9a58

Use MAX_AUTH_TRIES rather than DEFAULT_AUTH_TRIES, don't limit argument range
author Matt Johnston <matt@ucc.asn.au>
date Tue, 27 Jun 2017 22:20:38 +0800
parents 517c67cbcd31
children 1ea92dd2ca5f
line wrap: on
line diff
--- a/default_options.h	Tue Jun 27 22:18:18 2017 +0800
+++ b/default_options.h	Tue Jun 27 22:20:38 2017 +0800
@@ -380,17 +380,12 @@
 #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