diff options
-rw-r--r-- | lib/OPMode.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/OPMode.pm b/lib/OPMode.pm index 957c2f6..9071762 100644 --- a/lib/OPMode.pm +++ b/lib/OPMode.pm @@ -382,7 +382,7 @@ sub process_tunnels{ $tunnel_hash{$connectid}->{_inspi} = $3; $tunnel_hash{$connectid}->{_inbytes} = $4; } - if ($line =~ /$spi:.*?EVENT_SA_REPLACE in (.*?)s;/){ + if ($line =~ /$spi:.*?EVENT_SA_REPLACE.*? in (.*?)s;/){ $tunnel_hash{$connectid}->{_expire} = $1; my $atime = $tunnel_hash{$connectid}->{_lifetime} - $tunnel_hash{$connectid}->{_expire}; |