summaryrefslogtreecommitdiffhomepage
path: root/sysoptions.h
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2017-06-25 23:22:11 +0800
committerGitHub <noreply@github.com>2017-06-25 23:22:11 +0800
commit65115b91596bd940882c9ab7a8318b1d9e9b89ea (patch)
tree5c662468a5bbb48f201bb1896a6947d479b36989 /sysoptions.h
parenta94338dc6725f9f2594c6c5e1c9a799c7e11f3f1 (diff)
parent44f36d57e637f4a37f5492156f105891c1d49a24 (diff)
Merge pull request #45 from bengardner/DROPBEAR_LISTEN_BACKLOG
sysoptions.h: Add ability to override DROPBEAR_LISTEN_BACKLOG
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 63e5515..64b149e 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