comparison sysoptions.h @ 1440:8b74d5f876a7

sysoptions.h: Add ability to override DROPBEAR_LISTEN_BACKLOG This change allows adding DROPBEAR_LISTEN_BACKLOG to localoptions.h to force the value.
author Ben Gardner <bgardner@wabtec.com>
date Mon, 05 Jun 2017 08:39:45 -0500
parents 8747c2b19152
children 93d2bf610d0b
comparison
equal deleted inserted replaced
1407:8d9bad0a1c86 1440:8b74d5f876a7
233 #define DROPBEAR_VFORK 0 233 #define DROPBEAR_VFORK 0
234 #else 234 #else
235 #define DROPBEAR_VFORK 1 235 #define DROPBEAR_VFORK 1
236 #endif 236 #endif
237 237
238 #ifndef DROPBEAR_LISTEN_BACKLOG
238 #if MAX_UNAUTH_CLIENTS > MAX_CHANNELS 239 #if MAX_UNAUTH_CLIENTS > MAX_CHANNELS
239 #define DROPBEAR_LISTEN_BACKLOG MAX_UNAUTH_CLIENTS 240 #define DROPBEAR_LISTEN_BACKLOG MAX_UNAUTH_CLIENTS
240 #else 241 #else
241 #define DROPBEAR_LISTEN_BACKLOG MAX_CHANNELS 242 #define DROPBEAR_LISTEN_BACKLOG MAX_CHANNELS
243 #endif
242 #endif 244 #endif
243 245
244 #ifndef DROPBEAR_NONE_CIPHER 246 #ifndef DROPBEAR_NONE_CIPHER
245 #define DROPBEAR_NONE_CIPHER 0 247 #define DROPBEAR_NONE_CIPHER 0
246 #endif 248 #endif