mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-26 02:42:58 +02:00
ipsec: fix vpn-watch ikev2 skipping.
This commit is contained in:
@@ -42,7 +42,8 @@ while ( $i == 0){
|
||||
my $status = `ipsec whack --status`;
|
||||
foreach (@vpnsettings){
|
||||
my @settings = split(/,/,$_);
|
||||
|
||||
|
||||
chomp($settings[30]);
|
||||
if ($settings[30] eq 'ikev2'){next;}
|
||||
if ($settings[27] ne 'RED'){next;}
|
||||
if ($settings[4] ne 'net'){next;}
|
||||
|
||||
Reference in New Issue
Block a user