Browse Source

Add backward compatibility for MPTCP_ENABLED (#1) (#807)

pull/809/head
Simon Lelievre 8 years ago
committed by Max Lv
parent
commit
3d11e59578
1 changed files with 5 additions and 1 deletions
  1. 6
      src/netutils.h

6
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 */

Loading…
Cancel
Save