# HG changeset patch # User Matt Johnston # Date 1498404131 -28800 # Node ID 93d2bf610d0b2ac3ba9dd386477e144a155f994c # Parent 4f8eb331174fa4ad199496356e28056e209bea28# Parent 8b74d5f876a7886e9dbfae022452d583318d7b36 Merge pull request #45 from bengardner/DROPBEAR_LISTEN_BACKLOG sysoptions.h: Add ability to override DROPBEAR_LISTEN_BACKLOG diff -r 4f8eb331174f -r 93d2bf610d0b sysoptions.h --- 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