Merge pull request #45 from bengardner/DROPBEAR_LISTEN_BACKLOG

sysoptions.h: Add ability to override DROPBEAR_LISTEN_BACKLOG
This commit is contained in:
Matt Johnston 2017-06-25 23:22:11 +08:00 committed by GitHub
commit 65115b9159

View File

@ -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