From f04a3a2cfa6a2787e84b07d6d22cb1e9837ff6af Mon Sep 17 00:00:00 2001 From: Matt Johnston Date: Fri, 20 Feb 2015 23:38:05 +0800 Subject: Fixes for backwards compatibility --HG-- branch : fastopen --- sysoptions.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'sysoptions.h') 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 */ -- cgit v1.2.3