mirror of
https://github.com/shadowsocks/shadowsocks-libev.git
synced 2026-10-22 15:16:58 +00:00
Fix #765
This commit is contained in:
+3
-2
@@ -26,6 +26,8 @@
|
||||
// only enable TCP_FASTOPEN on linux
|
||||
#if defined(__linux__)
|
||||
|
||||
#include <linux/tcp.h>
|
||||
|
||||
/* conditional define for TCP_FASTOPEN */
|
||||
#ifndef TCP_FASTOPEN
|
||||
#define TCP_FASTOPEN 23
|
||||
@@ -44,10 +46,9 @@
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
/* Define the flag MPTCP_ENABLED if not defined*/
|
||||
#ifndef MPTCP_ENABLED
|
||||
#define MPTCP_ENABLED 26
|
||||
#define MPTCP_ENABLED 42
|
||||
#endif
|
||||
|
||||
/** byte size of ip4 address */
|
||||
|
||||
Reference in New Issue
Block a user