openl2tp.org
http://forums.openl2tp.org/

[PATCH] "optionsfile" ppp profile option
http://forums.openl2tp.org/viewtopic.php?f=4&t=63
Page 1 of 1

Author:  jkroon [ Sat Jun 04, 2011 4:15 pm ]
Post subject:  [PATCH] "optionsfile" ppp profile option

Hi,

Most of the ppp profile options are centered around passing specific options to pppd. Whilst this is extremely useful not all possible pppd options are covered and for single-server setups it is often more convenient to set options in /etc/ppp/options. However, in ever so slightly more complex environments different options files may be required for different profiles.

The other advantage of using options files are that pppd options can be re-used with relative ease between different invokers of pppd, eg, using both pptp and l2tp with similar options.

The patch also includes a fix for a possible memory leak in l2tp_ppp_profile_create_1_svc (l2tp_ppp.c) where if some error occurs the newly allocated profile struct would get freed but none of the allocated strings would get freed.

Patch hosted externally due to inability to upload to forum.

https://bugs.gentoo.org/attachment.cgi?id=275803

Author:  jchapman [ Sun Jun 05, 2011 12:01 am ]
Post subject:  Re: [PATCH] "optionsfile" ppp profile option

Thanks for the patch. I'll include it in the next release.

Author:  shad0w [ Fri Jun 24, 2011 6:53 pm ]
Post subject:  Re: [PATCH] "optionsfile" ppp profile option

When new version will be available?

Page 1 of 1 All times are UTC [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/