summaryrefslogtreecommitdiffhomepage
path: root/default_options.h
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2017-06-25 23:37:44 +0800
committerGitHub <noreply@github.com>2017-06-25 23:37:44 +0800
commitddbc8113a9b7ab6c3a5b636f4040951f6bd22b2f (patch)
treeb1391e09183c04bdf95eee822619385fc498f457 /default_options.h
parent65115b91596bd940882c9ab7a8318b1d9e9b89ea (diff)
parente2551012993ea913e23012774330da926366487f (diff)
Merge pull request #47 from kdarbyshirebryant/mastermaxauth
dropbear server: support -T max auth tries
Diffstat (limited to 'default_options.h')
-rw-r--r--default_options.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/default_options.h b/default_options.h
index e7fad80..84adfab 100644
--- a/default_options.h
+++ b/default_options.h
@@ -385,6 +385,12 @@ Homedir is prepended unless path begins with / */
#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