summaryrefslogtreecommitdiff
path: root/sysoptions.h
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2015-02-20 23:38:05 +0800
committerMatt Johnston <matt@ucc.asn.au>2015-02-20 23:38:05 +0800
commit996be37485de0029912fd91ebcfcfd84ddec46a1 (patch)
treef47101175b60188d53fdef8dc657e29ff18291f8 /sysoptions.h
parentc7b7e89f7568626e4f2ce59b24636df31667fa64 (diff)
downloaddropbear-996be37485de0029912fd91ebcfcfd84ddec46a1.tar.gz
Fixes for backwards compatibility
Diffstat (limited to 'sysoptions.h')
-rw-r--r--sysoptions.h5
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 */