From 44f36d57e637f4a37f5492156f105891c1d49a24 Mon Sep 17 00:00:00 2001 From: Ben Gardner Date: Mon, 5 Jun 2017 08:39:45 -0500 Subject: [PATCH] sysoptions.h: Add ability to override DROPBEAR_LISTEN_BACKLOG This change allows adding DROPBEAR_LISTEN_BACKLOG to localoptions.h to force the value. --- sysoptions.h | 2 ++ 1 file changed, 2 insertions(+) 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