ipsec: add ikev1/v2 selectbox to switch from pluto to charon.

This commit is contained in:
Arne Fitzenreiter
2011-06-26 11:13:58 +02:00
parent 1d43a0fb89
commit e2e4ed017c
3 changed files with 25 additions and 2 deletions

View File

@@ -43,6 +43,7 @@ my $status = `ipsec whack --status`;
foreach (@vpnsettings){
my @settings = split(/,/,$_);
if ($settings[30] eq 'ikev2'){next;}
if ($settings[27] ne 'RED'){next;}
if ($settings[4] ne 'net'){next;}
if ($settings[1] ne 'on'){next;}chomp($settings[29]);