Fixes for backwards compatibility

--HG--
branch : fastopen
This commit is contained in:
Matt Johnston
2015-02-20 23:38:05 +08:00
parent 364a53577e
commit f04a3a2cfa
5 changed files with 55 additions and 59 deletions

View File

@@ -259,4 +259,9 @@
/* Use this string since some implementations might special-case it */
#define DROPBEAR_KEEPALIVE_STRING "keepalive@openssh.com"
/* Linux will attempt TCP fast open, falling back if not supported by the kernel */
#ifdef __linux__
#define DROPBEAR_TCP_FAST_OPEN 1
#endif
/* no include guard for this file */