diff options
author | Daniel <43214013+daniel-pro@users.noreply.github.com> | 2018-12-18 15:10:24 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-18 15:10:24 +0100 |
commit | 6668032caf0a4f37ed634323f00c07df7619ab84 (patch) | |
tree | 0b0b265cd77ef87aa8269599c3d8332185d67b86 /src/op_mode | |
parent | 5ae0e478b41a5ca2b179f712ac1a71b4d1fca616 (diff) | |
download | vyos-1x-6668032caf0a4f37ed634323f00c07df7619ab84.tar.gz vyos-1x-6668032caf0a4f37ed634323f00c07df7619ab84.zip |
Update show_ipsec_sa.py
Diffstat (limited to 'src/op_mode')
-rwxr-xr-x | src/op_mode/show_ipsec_sa.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/op_mode/show_ipsec_sa.py b/src/op_mode/show_ipsec_sa.py index 9e1d6ce4d..8240c4fd3 100755 --- a/src/op_mode/show_ipsec_sa.py +++ b/src/op_mode/show_ipsec_sa.py @@ -32,7 +32,7 @@ status_data = [] for conn in connections: status = subprocess.check_output("ipsec statusall {0}".format(conn), shell=True).decode() - if re.search(r'no match', status): + if re.search(r'no match|CONNECTING', status): status_line = [conn, "down", None, None, None, None, None] else: try: |