Mercurial > dropbear
diff sysoptions.h @ 1440:8b74d5f876a7
sysoptions.h: Add ability to override DROPBEAR_LISTEN_BACKLOG
This change allows adding DROPBEAR_LISTEN_BACKLOG to localoptions.h to
force the value.
author | Ben Gardner <bgardner@wabtec.com> |
---|---|
date | Mon, 05 Jun 2017 08:39:45 -0500 |
parents | 8747c2b19152 |
children | 93d2bf610d0b |
line wrap: on
line diff
--- 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