mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-16 05:53:00 +02:00
ipsec: add ikev1/v2 selectbox to switch from pluto to charon.
This commit is contained in:
@@ -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]);
|
||||
|
||||
Reference in New Issue
Block a user