On Mon, 6 Apr 2009 17:05:51 -0700
[email protected] wrote:

>  scripts/vpn-config.pl |   45 +++++++++++++++++++++++++++++----------------
>  1 files changed, 29 insertions(+), 16 deletions(-)
> 
> New commits:
> commit ec8ba320d17653ac619a284dd6dd62e104531270
> Author: Bob Gilligan <[email protected]>
> Date:   Mon Apr 6 16:38:48 2009 -0700
> 
>     Bugfix 2387: Don't list interfaces in ipsec config file.
>     
>     The "interfaces=..." entry in the /etc/ipsec.conf file needs to list
>     the actual interfaces we are using only if the underlying kernel IPsec
>     support is provided by KLIPS.  In our case, we are using NETKEY, so
>     we don't need to list our interfaces there.  Not listing them makes
>     ipsec startup a bit more robust.
> 

Rather than refering to /sys/class/net/$interface directly, why
not use Vyatta::Misc::getInterfaces().
_______________________________________________
svn mailing list
[email protected]
http://mailman.vyatta.com/mailman/listinfo/svn

Reply via email to