diff options
author | Daniil Baturin <daniil@vyos.io> | 2021-05-19 06:31:06 +0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-19 06:31:06 +0700 |
commit | eed8b0fcaa75cbe2ca0784844febbc9a0dd27380 (patch) | |
tree | f104abfa57a5207e6c5b68a27d9a1171971e6243 | |
parent | 06522e435baff270c794da4aba21ff1e9ba72216 (diff) | |
parent | 61246089c787c231639b66ae903c933a339b5b68 (diff) | |
download | vyatta-op-vpn-eed8b0fcaa75cbe2ca0784844febbc9a0dd27380.tar.gz vyatta-op-vpn-eed8b0fcaa75cbe2ca0784844febbc9a0dd27380.zip |
Merge pull request #27 from sever-sever/T1995
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 4d41a91..fa1f428 100644 --- a/lib/OPMode.pm +++ b/lib/OPMode.pm @@ -1281,7 +1281,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}), |