Skip to content

Commit

Permalink
T5355:IPSec:op cmd:"sh vpn ike status" not working
Browse files Browse the repository at this point in the history
  • Loading branch information
srividya0208 committed Jul 13, 2023
1 parent ac60fe7 commit d6b8a8b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/op_mode/vpn_ike_sa.py
Expand Up @@ -39,8 +39,6 @@ def ike_sa(peer, nat):
peers = []
for conn in sas:
for name, sa in conn.items():
if peer and not name.startswith('peer_' + peer):
continue
if name.startswith('peer_') and name in peers:
continue
if nat and 'nat-local' not in sa:
Expand Down Expand Up @@ -70,7 +68,7 @@ def ike_sa(peer, nat):

args = parser.parse_args()

if not process_named_running('charon'):
if not process_named_running('charon-systemd'):
print("IPsec Process NOT Running")
sys.exit(0)

Expand Down

0 comments on commit d6b8a8b

Please sign in to comment.