>>I don't >>know if you use RPM but if so, you might be interested >>to try it: quiet often and I've noticed you have a couple of skills I don't have. Making RPMS and patches. Thank you for doing those and I'll try the rpm
>>I have slightly adjusted it by adding some extra ifdef's >>and adding an include for unistd.h so that the compiler >>does not complain about the close(). Thank you as well. As well I wanted to clean out/improve my comments in the source. >>I think the N_HDLC comes with the Linux kernel sync PPP code, >>right? So if you have a kernel without sync PPP, then it >>probably doesn't work? Good question but I don't know the answer. Regards Dom -----Original Message----- From: Jacco de Leeuw [mailto:[EMAIL PROTECTED]] Sent: 29 January 2003 10:43 To: Cressatti, Dominique Subject: Re: fixed packet echo/loopback error in l2tpd "Cressatti, Dominique" wrote: > > Guys.... I think I fixed the above problem in l2tpd. > I've have tested it successfully on few systems > that always failed but I'd appreciate if someone > else could replicate it. Great to hear that! Currently I don't have access to a Win2000 machine, but I updated my l2tpd RPM with your patch. I don't know if you use RPM but if so, you might be interested to try it: http://www.jacco2.dds.nl/networking/SRPMS/l2tpd-0.69-3jdl.src.rpm > Basically I've modified pty.c to set the line to > N_HDLC like in David's rp-l2tp (I copied > most of the code so I can't take much credit > for it). I have slightly adjusted it by adding some extra ifdef's and adding an include for unistd.h so that the compiler does not complain about the close(). > The added code might still be slightly ugly > (perhaps non portable to other platforms than > linux) so I'd appreciate if a coder could > look at it. I don't complain since I use it with FreeS/WAN (Linux only) anyway :-) I think the N_HDLC comes with the Linux kernel sync PPP code, right? So if you have a kernel without sync PPP, then it probably doesn't work? Jacco -- Jacco de Leeuw mailto:[EMAIL PROTECTED] Zaandam, The Netherlands http://www.jacco2.dds.nl Good guys don't finish last. Good guys win before the race has even started. -----BEGIN PGP PUBLIC KEY BLOCK----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org mQGiBDr7/64RBADTPRosG+ImjNSTboO//WtltF9y6CcnFdirzNCFFBduXMvFv4IT Aaj46IFUBZ67IHL+FJykr0TomqI4/iEUVEn7LaK9pKwGMPFxQZisWyuck9wcV3++ UIWRRnd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