From alvin at Iplink.net Fri Feb 3 15:31:30 2012 From: alvin at Iplink.net (Alvin Starr) Date: Fri, 03 Feb 2012 10:31:30 -0500 Subject: [Openl2tp-users] make bug in pppd 2.4.5 In-Reply-To: <4F16A2C2.4060008@katalix.com> References: <4F16A2C2.4060008@katalix.com> Message-ID: <4F2BFDD2.2050000@Iplink.net> I found this in the f14 RPM but am not sure if it does or does not exist in all the others. When the pppol2tp plugin is compiled from the top level make file all the HAVE_* flags do not get inherited from the pppd/Makefile which means that the variable doing_multilink gets defined as 0 in pppd.h so that the up/down event never gets sent causing the link to timeout and get restarted. I can see a few possible fixes but I am not sure which would be the most appropriate. One is just to define HAVE_MULTILINK in the *.c files or the Makefile. Another is to remove the test against doing_multilink since the only way the code will get executed is by being called from the pppd multilink code. Another solution would be to have the pppd makefile make the plugins so the defines would be inherited. -- Alvin Starr || voice: (416)585-9971x690 Interlink Connectivity || fax: (416)585-9974 alvin at iplink.net || ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Openl2tp-users mailing list Openl2tp-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openl2tp-users