mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-26 02:42:58 +02:00
Show better connection information for on-demand IPsec connections
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
@@ -425,6 +425,9 @@ END
|
||||
if (($line =~ /\"$vpnconfig{$key}[1]\".*IPsec SA established/) || ($line =~/$vpnconfig{$key}[1]\{.*INSTALLED/ )){
|
||||
$activecolor = $Header::colourgreen;
|
||||
$activestatus = $Lang::tr{'capsopen'};
|
||||
} elsif ($line =~ /$vpnconfig{$key}[1]\{.*ROUTED/) {
|
||||
$activecolor = $Header::colourorange;
|
||||
$activestatus = $Lang::tr{'vpn on-demand'};
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user