diff default_options.h.in @ 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 abbdeca6f1bd
line wrap: on
line diff
--- a/default_options.h.in	Tue Jun 27 22:18:18 2017 +0800
+++ b/default_options.h.in	Tue Jun 27 22:20:38 2017 +0800
@@ -258,13 +258,10 @@
  * come from many IPs */
 #define MAX_UNAUTH_CLIENTS 30
 
-/* Maximum number of failed authentication tries (server option) */
+/* Default maximum number of failed authentication tries (server option) */
+/* -T server option overrides */
 #define MAX_AUTH_TRIES 10
 
-/* Default maximum number of failed authentication tries.
- * defaults to MAX_AUTH_TRIES */
-#define DEFAULT_AUTH_TRIES MAX_AUTH_TRIES
-
 /* The default file to store the daemon's process ID, for shutdown
    scripts etc. This can be overridden with the -P flag */
 #define DROPBEAR_PIDFILE "/var/run/dropbear.pid"