comparison sysoptions.h @ 1441:93d2bf610d0b

Merge pull request #45 from bengardner/DROPBEAR_LISTEN_BACKLOG sysoptions.h: Add ability to override DROPBEAR_LISTEN_BACKLOG
author Matt Johnston <matt@ucc.asn.au>
date Sun, 25 Jun 2017 23:22:11 +0800
parents 7672b13c5367 8b74d5f876a7
children 533e070b3126
comparison
equal deleted inserted replaced
1438:4f8eb331174f 1441:93d2bf610d0b
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