PPP setup will always timeout in non-RPC version of openl2tp.
The fix can be found here:
http://sourceforge.net/tracker/?func=detail&aid=3149171&group_id=118353&atid=680935
The patch applies cleanly and fixes the problem, so I suggest we shall include
it in our version of openl2tp.

Signed-off-by: Daniel Golle <dgo...@allnet.de>

Index: net/openl2tp/patches/011-ppp_setup_timer_with_norpc.patch
===================================================================
--- /dev/null   (revision 0)
+++ net/openl2tp/patches/011-ppp_setup_timer_with_norpc.patch   (revision 0)
@@ -0,0 +1,14 @@
+--- a/plugins/ppp_unix.c
++++ b/plugins/ppp_unix.c
+@@ -894,11 +894,9 @@ static int ppp_unix_pppd_spawn(struct pp
+ 
+               argv[arg++] = "plugin";
+               argv[arg++] = "pppol2tp.so";
+-#ifdef L2TP_FEATURE_RPC_MANAGEMENT
+               /* This plugin requires pppol2tp.so to be loaded first */
+               argv[arg++] = "plugin";
+               argv[arg++] = "openl2tp.so";
+-#endif
+ 
+               if (!ppp_unix_use_dummy_pppd()) {
+                       int flags;

Attachment: pgpUO3akhNKFv.pgp
Description: PGP signature

_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to