summaryrefslogtreecommitdiff
path: root/src/op_mode
diff options
context:
space:
mode:
authorhagbard-01 <39653662+hagbard-01@users.noreply.github.com>2019-01-08 07:05:27 -0800
committerGitHub <noreply@github.com>2019-01-08 07:05:27 -0800
commit898889396f3cce989468b973f484a8851dd613b2 (patch)
tree4b31edfb9688a7c56ebe81b41dfb5177c286adf6 /src/op_mode
parentac7c868dcba4dd6738eb0087c4f414b92bf10c9d (diff)
parent6668032caf0a4f37ed634323f00c07df7619ab84 (diff)
downloadvyos-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')
-rwxr-xr-xsrc/op_mode/show_ipsec_sa.py2
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: