summaryrefslogtreecommitdiff
path: root/accel-pppd/ctrl/ipoe/CMakeLists.txt
diff options
context:
space:
mode:
authorDmitry Kozlov <xeb@mail.ru>2017-04-04 12:44:16 +0300
committerDmitry Kozlov <xeb@mail.ru>2017-04-04 12:44:20 +0300
commit29e80de7214199500b56e4ac3a667a40df1a7f20 (patch)
tree94ae87f10806f0dd1920cc10f6d98d1ba6b554af /accel-pppd/ctrl/ipoe/CMakeLists.txt
parent974f6a33e3983880051470d1676745fd136f5d61 (diff)
downloadaccel-ppp-29e80de7214199500b56e4ac3a667a40df1a7f20.tar.gz
accel-ppp-29e80de7214199500b56e4ac3a667a40df1a7f20.zip
ipoe: included lua bitop library
Included bitop library http://bitop.luajit.org/index.html It may be used to extract vlan components in username function: function username(ses) vid=ses:vlan() svid=bit.rshift(vid,16) cvid=bit.band(vid,0xffff) ... end
Diffstat (limited to 'accel-pppd/ctrl/ipoe/CMakeLists.txt')
-rw-r--r--accel-pppd/ctrl/ipoe/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/accel-pppd/ctrl/ipoe/CMakeLists.txt b/accel-pppd/ctrl/ipoe/CMakeLists.txt
index 73dbb382..bba74633 100644
--- a/accel-pppd/ctrl/ipoe/CMakeLists.txt
+++ b/accel-pppd/ctrl/ipoe/CMakeLists.txt
@@ -16,7 +16,7 @@ IF (LUA)
ENDIF (NOT LUA51_FOUND)
INCLUDE_DIRECTORIES(${LUA_INCLUDE_DIR})
ADD_DEFINITIONS(-DUSE_LUA)
- SET(sources ${sources} lua.c lua_lpack.c)
+ SET(sources ${sources} lua.c lua_lpack.c lua_bit.c)
ENDIF (LUA)
ADD_LIBRARY(ipoe SHARED ${sources})