diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2012-05-03 09:38:58 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2012-05-03 09:38:58 +0000 |
commit | 97697c332fd4a67878b0aa8af8a03d1b1ef7c298 (patch) | |
tree | c48fe7468a58098cf3a20f9cd1bf2e4f5642bf27 /package/ppp/patches/400-simplify_kernel_checks.patch | |
parent | b0449ccf04eae59aec6f90493d5a563fa8b15eea (diff) | |
download | mtk-20170518-97697c332fd4a67878b0aa8af8a03d1b1ef7c298.zip mtk-20170518-97697c332fd4a67878b0aa8af8a03d1b1ef7c298.tar.gz mtk-20170518-97697c332fd4a67878b0aa8af8a03d1b1ef7c298.tar.bz2 |
Add ppp-mod-pppol2tp subpackage to ppp
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
SVN-Revision: 31564
Diffstat (limited to 'package/ppp/patches/400-simplify_kernel_checks.patch')
-rw-r--r-- | package/ppp/patches/400-simplify_kernel_checks.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/package/ppp/patches/400-simplify_kernel_checks.patch b/package/ppp/patches/400-simplify_kernel_checks.patch index c481413..6ddf86a 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); |