Hi, I am re-opening this bug report, since kernel support has been fixed upstream in version 1.3.2. It is also enabled by default upstream, see:
https://github.com/xelerance/xl2tpd/blob/master/CHANGES#L31 However, because the Debian package overrides the CFLAGS variable, it didn't pick up this change. Attached is a patch enabling kernel support for version 1.3.6+dfsg. Thanks, Baptiste
--- a/xl2tpd-1.3.6+dfsg/debian/rules 2015-11-25 22:09:46.660000000 +0100 +++ b/xl2tpd-1.3.6+dfsg/debian/rules 2015-11-25 22:16:27.964000000 +0100 @@ -27,7 +27,7 @@ build-indep: build-stamp build-stamp: configure-stamp dh_testdir - $(MAKE) CFLAGS=" -DDEBUG_PPPD -DTRUST_PPPD_TO_DIE -O2 -fno-builtin -Wall -DSANITY -DLINUX -I$(KERNELSRC)/include/ -DIP_ALLOCATION $(shell dpkg-buildflags --get CFLAGS)" CPPFLAGS=" -DDEBUG_PPPD -DTRUST_PPPD_TO_DIE -O2 -fno-builtin -Wall -DSANITY -DLINUX -I$(KERNELSRC)/include/ -DIP_ALLOCATION $(shell dpkg-buildflags --get CPPFLAGS)" LDFLAGS=" $(shell dpkg-buildflags --get LDFLAGS)" + $(MAKE) CFLAGS=" -DDEBUG_PPPD -DTRUST_PPPD_TO_DIE -O2 -fno-builtin -Wall -DSANITY -DLINUX -I$(KERNELSRC)/include/ -DIP_ALLOCATION -DUSE_KERNEL $(shell dpkg-buildflags --get CFLAGS)" CPPFLAGS=" -DDEBUG_PPPD -DTRUST_PPPD_TO_DIE -O2 -fno-builtin -Wall -DSANITY -DLINUX -I$(KERNELSRC)/include/ -DIP_ALLOCATION $(shell dpkg-buildflags --get CPPFLAGS)" LDFLAGS=" $(shell dpkg-buildflags --get LDFLAGS)" touch $@ clean:
pgpFoNtiMNbZz.pgp
Description: PGP signature