summaryrefslogtreecommitdiff
path: root/src/op_mode/show_ipsec_sa.py
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2019-01-12 17:22:07 +0100
committerDaniil Baturin <daniil@baturin.org>2019-01-12 17:22:07 +0100
commit99a407d2446bb5598581dd7fb26177872b1372f9 (patch)
tree896912ae949f366796a18f0b1028efb0057894a0 /src/op_mode/show_ipsec_sa.py
parent4bd4083400e9f6331afcf1fe8015ff05cd0fcbf1 (diff)
downloadvyos-1x-99a407d2446bb5598581dd7fb26177872b1372f9.tar.gz
vyos-1x-99a407d2446bb5598581dd7fb26177872b1372f9.zip
Correct the command suggestion in the "show vpn ipsec sa" script
in case when no active SAs are found.
Diffstat (limited to 'src/op_mode/show_ipsec_sa.py')
-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 1ce306a45..bad4f33f0 100755
--- a/src/op_mode/show_ipsec_sa.py
+++ b/src/op_mode/show_ipsec_sa.py
@@ -14,7 +14,7 @@ def parse_conn_spec(s):
except AttributeError:
# No active SAs found, so we have nothing to display
print("No established security associations found.")
- print("Use \"show vpn ipsec sa\" to view inactive and connecting tunnels.")
+ print("Use \"show vpn ipsec sa verbose\" to view inactive and connecting tunnels.")
sys.exit(0)
def parse_sa_counters(s):