summaryrefslogtreecommitdiff
path: root/accel-pppd/CMakeLists.txt
diff options
context:
space:
mode:
authorKozlov Dmitry <xeb@mail.ru>2013-08-28 17:42:10 +0400
committerKozlov Dmitry <xeb@mail.ru>2013-08-28 17:44:29 +0400
commit0614a5ed9e54982604f4c1b4a44617625312e5fd (patch)
treebcccfb25e5e42f49b83387f6e3ffa036864fac54 /accel-pppd/CMakeLists.txt
parentb4962f813ecbbed302acee7496fb4f6c27cc39b5 (diff)
downloadaccel-ppp-0614a5ed9e54982604f4c1b4a44617625312e5fd.tar.gz
accel-ppp-0614a5ed9e54982604f4c1b4a44617625312e5fd.zip
ipoe: add ipset support for l4 redirect
Diffstat (limited to 'accel-pppd/CMakeLists.txt')
-rw-r--r--accel-pppd/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/accel-pppd/CMakeLists.txt b/accel-pppd/CMakeLists.txt
index 8a7c463c..af9e5f4f 100644
--- a/accel-pppd/CMakeLists.txt
+++ b/accel-pppd/CMakeLists.txt
@@ -45,6 +45,9 @@ IF (SHAPER)
ADD_SUBDIRECTORY(shaper)
ENDIF (SHAPER)
+INCLUDE(CheckIncludeFile)
+CHECK_INCLUDE_FILE("linux/netfilter/ipset/ip_set.h" HAVE_IPSET)
+
ADD_EXECUTABLE(accel-pppd
session.c
session_backup.c
@@ -78,6 +81,7 @@ ADD_EXECUTABLE(accel-pppd
libnetlink/libnetlink.c
libnetlink/iputils.c
libnetlink/genl.c
+ libnetlink/ipset.c
pwdb.c
ipdb.c