mirror of
https://github.com/clearml/dropbear
synced 2025-01-31 10:57:01 +00:00
sysoptions.h: Add ability to override DROPBEAR_LISTEN_BACKLOG
This change allows adding DROPBEAR_LISTEN_BACKLOG to localoptions.h to force the value.
This commit is contained in:
parent
7ab8f61974
commit
44f36d57e6
@ -235,11 +235,13 @@
|
|||||||
#define DROPBEAR_VFORK 1
|
#define DROPBEAR_VFORK 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef DROPBEAR_LISTEN_BACKLOG
|
||||||
#if MAX_UNAUTH_CLIENTS > MAX_CHANNELS
|
#if MAX_UNAUTH_CLIENTS > MAX_CHANNELS
|
||||||
#define DROPBEAR_LISTEN_BACKLOG MAX_UNAUTH_CLIENTS
|
#define DROPBEAR_LISTEN_BACKLOG MAX_UNAUTH_CLIENTS
|
||||||
#else
|
#else
|
||||||
#define DROPBEAR_LISTEN_BACKLOG MAX_CHANNELS
|
#define DROPBEAR_LISTEN_BACKLOG MAX_CHANNELS
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef DROPBEAR_NONE_CIPHER
|
#ifndef DROPBEAR_NONE_CIPHER
|
||||||
#define DROPBEAR_NONE_CIPHER 0
|
#define DROPBEAR_NONE_CIPHER 0
|
||||||
|
Loading…
Reference in New Issue
Block a user