summaryrefslogtreecommitdiffhomepage
path: root/sysoptions.h
diff options
context:
space:
mode:
authorBen Gardner <bgardner@wabtec.com>2017-06-05 08:39:45 -0500
committerBen Gardner <bgardner@wabtec.com>2017-06-05 08:40:48 -0500
commit44f36d57e637f4a37f5492156f105891c1d49a24 (patch)
treedfa38fffe8ca7798d9af57c70f0994fc6d684e00 /sysoptions.h
parent7ab8f61974601444046888da07f211c44e55e5a5 (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.h2
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