From f34832554eb418831f4aa2852d76a90064c99928 Mon Sep 17 00:00:00 2001 From: juhosg Date: Thu, 3 May 2012 09:38:58 +0000 Subject: Add ppp-mod-pppol2tp subpackage to ppp Signed-off-by: David Woodhouse git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31564 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/ppp/patches/400-simplify_kernel_checks.patch | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'package/ppp/patches') diff --git a/package/ppp/patches/400-simplify_kernel_checks.patch b/package/ppp/patches/400-simplify_kernel_checks.patch index c48141311e..6ddf86a1ba 100644 --- a/package/ppp/patches/400-simplify_kernel_checks.patch +++ b/package/ppp/patches/400-simplify_kernel_checks.patch @@ -126,3 +126,19 @@ add_options(Options); info("RP-PPPoE plugin version %s compiled against pppd %s", +--- a/pppd/plugins/pppol2tp/pppol2tp.c 2010-11-15 12:12:43.000000000 +0000 ++++ b/pppd/plugins/pppol2tp/pppol2tp.c 2012-04-24 15:53:58.806260309 +0100 +@@ -488,12 +488,7 @@ static void pppol2tp_check_options(void) + + void plugin_init(void) + { +-#if defined(__linux__) +- extern int new_style_driver; /* From sys-linux.c */ +- if (!ppp_available() && !new_style_driver) +- fatal("Kernel doesn't support ppp_generic - " +- "needed for PPPoL2TP"); +-#else ++#if !defined(__linux__) + fatal("No PPPoL2TP support on this OS"); + #endif + add_options(pppol2tp_options); -- cgit v1.2.3