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