diff options
author | hagbard-01 <39653662+hagbard-01@users.noreply.github.com> | 2019-01-08 07:05:27 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-08 07:05:27 -0800 |
commit | 898889396f3cce989468b973f484a8851dd613b2 (patch) | |
tree | 4b31edfb9688a7c56ebe81b41dfb5177c286adf6 /src/op_mode/show_ipsec_sa.py | |
parent | ac7c868dcba4dd6738eb0087c4f414b92bf10c9d (diff) | |
parent | 6668032caf0a4f37ed634323f00c07df7619ab84 (diff) | |
download | vyos-1x-898889396f3cce989468b973f484a8851dd613b2.tar.gz vyos-1x-898889396f3cce989468b973f484a8851dd613b2.zip |
Merge pull request #63 from daniel-pro/T1077
T1077: Update show_ipsec_sa.py
Diffstat (limited to 'src/op_mode/show_ipsec_sa.py')
-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 4c39aba66..792c27dad 100755 --- a/src/op_mode/show_ipsec_sa.py +++ b/src/op_mode/show_ipsec_sa.py @@ -39,7 +39,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: |