changeset 1443:8d45904926d3

Merge pull request #47 from kdarbyshirebryant/mastermaxauth dropbear server: support -T max auth tries
author Matt Johnston <matt@ucc.asn.au>
date Sun, 25 Jun 2017 23:37:44 +0800
parents 93d2bf610d0b (diff) 517c67cbcd31 (current diff)
children bfed37d12d90
files
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/sysoptions.h	Mon May 29 10:25:09 2017 +0100
+++ b/sysoptions.h	Sun Jun 25 23:37:44 2017 +0800
@@ -235,11 +235,13 @@
 #define DROPBEAR_VFORK 1
 #endif
 
+#ifndef DROPBEAR_LISTEN_BACKLOG
 #if MAX_UNAUTH_CLIENTS > MAX_CHANNELS
 #define DROPBEAR_LISTEN_BACKLOG MAX_UNAUTH_CLIENTS
 #else
 #define DROPBEAR_LISTEN_BACKLOG MAX_CHANNELS
 #endif
+#endif
 
 #ifndef DROPBEAR_NONE_CIPHER
 #define DROPBEAR_NONE_CIPHER 0