changeset 1441:93d2bf610d0b

Merge pull request #45 from bengardner/DROPBEAR_LISTEN_BACKLOG sysoptions.h: Add ability to override DROPBEAR_LISTEN_BACKLOG
author Matt Johnston <matt@ucc.asn.au>
date Sun, 25 Jun 2017 23:22:11 +0800
parents 4f8eb331174f (current diff) 8b74d5f876a7 (diff)
children 8d45904926d3
files sysoptions.h
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/sysoptions.h	Sat Jun 24 23:32:25 2017 +0800
+++ b/sysoptions.h	Sun Jun 25 23:22:11 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