Skip to content

Commit

Permalink
Merge pull request #4072 from vyos/mergify/bp/circinus/pr-4057
Browse files Browse the repository at this point in the history
op-mode: T6682: Fix for show vpn ike sa peer that always shows all SAs (backport #4057)
  • Loading branch information
c-po authored Sep 16, 2024
2 parents bc249af + a9502ba commit 8aa626a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/op_mode/vpn_ike_sa.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ def ike_sa(peer, nat):
peers = []
for conn in sas:
for name, sa in conn.items():
if peer and s(sa['remote-host']) != peer:
continue
if name.startswith('peer_') and name in peers:
continue
if nat and 'nat-local' not in sa:
Expand Down

0 comments on commit 8aa626a

Please sign in to comment.