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 | 996be37485de0029912fd91ebcfcfd84ddec46a1 (patch) | |
tree | f47101175b60188d53fdef8dc657e29ff18291f8 /sysoptions.h | |
parent | c7b7e89f7568626e4f2ce59b24636df31667fa64 (diff) | |
download | dropbear-996be37485de0029912fd91ebcfcfd84ddec46a1.tar.gz |
Fixes for backwards compatibility
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 */ |