# HG changeset patch # User Ben Gardner # Date 1496669985 18000 # Node ID 8b74d5f876a7886e9dbfae022452d583318d7b36 # Parent 8d9bad0a1c8601ec01907bf99849509d639482f3 sysoptions.h: Add ability to override DROPBEAR_LISTEN_BACKLOG This change allows adding DROPBEAR_LISTEN_BACKLOG to localoptions.h to force the value. diff -r 8d9bad0a1c86 -r 8b74d5f876a7 sysoptions.h --- a/sysoptions.h Sat Jun 03 09:45:55 2017 +0800 +++ b/sysoptions.h Mon Jun 05 08:39:45 2017 -0500 @@ -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