diff --git a/src/netutils.h b/src/netutils.h index e9bc3947..d80bf265 100644 --- a/src/netutils.h +++ b/src/netutils.h @@ -52,9 +52,13 @@ #endif -/* Define the flag MPTCP_ENABLED if not defined*/ +/* Backward compatibility for MPTCP_ENABLED between kernel 3 & 4 */ #ifndef MPTCP_ENABLED +#ifdef TCP_CC_INFO #define MPTCP_ENABLED 42 +#else +#define MPTCP_ENABLED 26 +#endif #endif /** byte size of ip4 address */