diff options
author | sever-sever <v.gletenko@vyos.io> | 2021-05-14 15:42:49 +0000 |
---|---|---|
committer | Daniil Baturin <daniil@vyos.io> | 2021-05-27 17:46:06 +0300 |
commit | 41df91df4a592759eb3a3ba2eaa0e96fe490b220 (patch) | |
tree | 53b4bcb71919237fa9769c4747b3190f2db5630f | |
parent | 2b2e1dbb50a9bf08559740473877deaa74257e2b (diff) | |
download | vyatta-op-vpn-41df91df4a592759eb3a3ba2eaa0e96fe490b220.tar.gz vyatta-op-vpn-41df91df4a592759eb3a3ba2eaa0e96fe490b220.zip |
vpn: T1995: Fix op-mode for ike sa
-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 38bea1c..4c4859e 100644 --- a/lib/OPMode.pm +++ b/lib/OPMode.pm @@ -1262,7 +1262,7 @@ sub display_ike_sa_brief { my $lip = $th{$connectid}->{_lip}; $peerid = $th{$connectid}->{_rip}; my $tunnel = "$peerid-$lip"; - #next if ($th{$connectid}->{_ikestate} eq 'down'); + next if ($th{$connectid}->{_ikestate} eq 'down' && $th{$connectid}->{_ikever} eq 'n/a'); if (not exists $tunhash{$tunnel}) { $tunhash{$tunnel}={ _configpeer => conv_id_rev($th{$connectid}->{_peerid}), |