diff options
author | Ben Gardner <bgardner@wabtec.com> | 2017-06-05 08:39:45 -0500 |
---|---|---|
committer | Ben Gardner <bgardner@wabtec.com> | 2017-06-05 08:40:48 -0500 |
commit | 44f36d57e637f4a37f5492156f105891c1d49a24 (patch) | |
tree | dfa38fffe8ca7798d9af57c70f0994fc6d684e00 /sysoptions.h | |
parent | 7ab8f61974601444046888da07f211c44e55e5a5 (diff) |
sysoptions.h: Add ability to override DROPBEAR_LISTEN_BACKLOG
This change allows adding DROPBEAR_LISTEN_BACKLOG to localoptions.h to
force the value.
Diffstat (limited to 'sysoptions.h')
-rw-r--r-- | sysoptions.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sysoptions.h b/sysoptions.h index 441e3a1..601bba5 100644 --- a/sysoptions.h +++ b/sysoptions.h @@ -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 |