diff sysoptions.h @ 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 7672b13c5367 8b74d5f876a7
children 533e070b3126
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