diff options
author | DmitriyEshenko <dmitriy.eshenko@vyos.io> | 2021-12-10 19:43:42 +0300 |
---|---|---|
committer | DmitriyEshenko <dmitriy.eshenko@vyos.io> | 2021-12-16 23:03:52 +0300 |
commit | 737bf4d8b6e9e1bf50be69e8c99028bb2696190c (patch) | |
tree | 0fb5c5234841d6dbdd16bf5cfd18e0c841177243 /accel-pppd/CMakeLists.txt | |
parent | 51bd8165bb335a8db966c4df344810e7ef2c563c (diff) | |
download | accel-ppp-737bf4d8b6e9e1bf50be69e8c99028bb2696190c.tar.gz accel-ppp-737bf4d8b6e9e1bf50be69e8c99028bb2696190c.zip |
vrf: T10: Add VRF support
Co-authored-by: Sergey V. Lobanov <svlobanov@users.noreply.github.com>
Co-authored-by: Vladislav Grishenko <themiron@users.noreply.github.com>
Diffstat (limited to 'accel-pppd/CMakeLists.txt')
-rw-r--r-- | accel-pppd/CMakeLists.txt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/accel-pppd/CMakeLists.txt b/accel-pppd/CMakeLists.txt index d7eaf1d..23a1d0a 100644 --- a/accel-pppd/CMakeLists.txt +++ b/accel-pppd/CMakeLists.txt @@ -64,6 +64,14 @@ CHECK_INCLUDE_FILE("linux/netfilter/ipset/ip_set.h" HAVE_IPSET) INCLUDE(CheckFunctionExists) CHECK_FUNCTION_EXISTS(setns HAVE_SETNS) +INCLUDE (CheckCSourceCompiles) +CHECK_C_SOURCE_COMPILES(" +#include <linux/if_link.h> +int main(void) +{ + return IFLA_VRF_UNSPEC+IFLA_VRF_TABLE; +}" HAVE_VRF) + ADD_EXECUTABLE(accel-pppd memdebug.c session.c |