diff options
author | Matt Johnston <matt@ucc.asn.au> | 2015-02-20 23:38:05 +0800 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2015-02-20 23:38:05 +0800 |
commit | f04a3a2cfa6a2787e84b07d6d22cb1e9837ff6af (patch) | |
tree | 0e0fca0c506d49ce51f636237db6f8f89b8cc38f /sysoptions.h | |
parent | 364a53577eb33f20bed877fc5d4a54de829707d8 (diff) |
Fixes for backwards compatibility
--HG--
branch : fastopen
Diffstat (limited to 'sysoptions.h')
-rw-r--r-- | sysoptions.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sysoptions.h b/sysoptions.h index bec7246..092eb7e 100644 --- a/sysoptions.h +++ b/sysoptions.h @@ -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 */ |