It is currently Fri Jun 23, 2017 1:07 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: [PATCH] "optionsfile" ppp profile option
PostPosted: Sat Jun 04, 2011 4:15 pm 

Joined: Sat Jun 04, 2011 9:18 am
Posts: 15
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


Top
 Profile  
 
 Post subject: Re: [PATCH] "optionsfile" ppp profile option
PostPosted: Sun Jun 05, 2011 12:01 am 
Site Admin

Joined: Sun Jul 27, 2008 1:39 pm
Posts: 122
Thanks for the patch. I'll include it in the next release.


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

Joined: Fri Jun 24, 2011 5:30 pm
Posts: 1
When new version will be available?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group