diff sysoptions.h @ 1033:ca71904cf3ee fastopen

Fixes for backwards compatibility
author Matt Johnston <matt@ucc.asn.au>
date Fri, 20 Feb 2015 23:38:05 +0800
parents 48a0ba346de4
children 01eea88963f3
line wrap: on
line diff
--- a/sysoptions.h	Fri Feb 20 23:16:38 2015 +0800
+++ b/sysoptions.h	Fri Feb 20 23:38:05 2015 +0800
@@ -259,4 +259,9 @@
 /* Use this string since some implementations might special-case it */
 #define DROPBEAR_KEEPALIVE_STRING "[email protected]"
 
+/* 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 */