aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2020-01-30 15:30:32 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2020-01-30 15:30:32 +0100
commit8c591730d8cd5b3e253eeb767e491647b1061757 (patch)
tree7657fc0eec8f755f95176f146e0ef8065c9b2cef
parentcompat: support building for RHEL-8.2 (diff)
downloadwireguard-linux-compat-8c591730d8cd5b3e253eeb767e491647b1061757.tar.xz
wireguard-linux-compat-8c591730d8cd5b3e253eeb767e491647b1061757.zip
compat: remove RHEL-7.6 workaround
We only support the latest RHEL-7 and RHEL-8. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
-rw-r--r--src/compat/compat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compat/compat.h b/src/compat/compat.h
index 57d6568..948d3fe 100644
--- a/src/compat/compat.h
+++ b/src/compat/compat.h
@@ -99,7 +99,7 @@
(LINUX_VERSION_CODE < KERNEL_VERSION(3, 18, 27) && LINUX_VERSION_CODE >= KERNEL_VERSION(3, 17, 0)) || \
(LINUX_VERSION_CODE < KERNEL_VERSION(3, 16, 8) && LINUX_VERSION_CODE >= KERNEL_VERSION(3, 15, 0)) || \
(LINUX_VERSION_CODE < KERNEL_VERSION(3, 14, 40) && LINUX_VERSION_CODE >= KERNEL_VERSION(3, 13, 0)) || \
- (LINUX_VERSION_CODE < KERNEL_VERSION(3, 12, 54))) && !defined(ISUBUNTU1404) && (!defined(ISRHEL7) || RHEL_MINOR < 7) /* TODO: remove < 7 workaround once CentOS 7.7 comes out. */
+ (LINUX_VERSION_CODE < KERNEL_VERSION(3, 12, 54))) && !defined(ISUBUNTU1404) && !defined(ISRHEL7)
#include <linux/if.h>
#include <net/ip_tunnels.h>
#define IP6_ECN_set_ce(a, b) IP6_ECN_set_ce(b)