summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2020-05-25 11:11:52 -0500
committerGitHub <noreply@github.com>2020-05-25 11:11:52 -0500
commit073b2a75f19d3af942e78ae44e2d96162648f844 (patch)
tree5d2386e4e4aa3ba7bfc13c22393786d5e99c779a /src
parent7962382808975ef136d1b1c5e5105f86f07d924c (diff)
parent8e19b5b0c7a0ce1b399041bd53eba2354cd52555 (diff)
downloadvyos-1x-073b2a75f19d3af942e78ae44e2d96162648f844.tar.gz
vyos-1x-073b2a75f19d3af942e78ae44e2d96162648f844.zip
Merge pull request #429 from thomas-mangin/T2226-vpn
vpn: T2226: missed command for show vpn remote-access
Diffstat (limited to 'src')
-rwxr-xr-xsrc/op_mode/show_vpn_ra.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/op_mode/show_vpn_ra.py b/src/op_mode/show_vpn_ra.py
index 2323193b1..73688c4ea 100755
--- a/src/op_mode/show_vpn_ra.py
+++ b/src/op_mode/show_vpn_ra.py
@@ -24,8 +24,8 @@ from vyos.util import popen
def get_sessions():
absent_pptp = False
absent_l2tp = False
- pptp_cmd = ["accel-cmd", "-p 2003", "show sessions"]
- l2tp_cmd = ["accel-cmd", "-p 2004", "show sessions"]
+ pptp_cmd = "accel-cmd -p 2003 show sessions"
+ l2tp_cmd = "accel-cmd -p 2004 show sessions"
err_pattern = "^Connection.+failed$"
# This value for chack only output header without sessions.
len_def_header = 170