diff options
author | Thomas Mangin <thomas.mangin@exa.net.uk> | 2020-05-25 17:08:11 +0100 |
---|---|---|
committer | Thomas Mangin <thomas.mangin@exa.net.uk> | 2020-05-25 17:08:11 +0100 |
commit | 8e19b5b0c7a0ce1b399041bd53eba2354cd52555 (patch) | |
tree | 5d2386e4e4aa3ba7bfc13c22393786d5e99c779a | |
parent | 7962382808975ef136d1b1c5e5105f86f07d924c (diff) | |
download | vyos-1x-8e19b5b0c7a0ce1b399041bd53eba2354cd52555.tar.gz vyos-1x-8e19b5b0c7a0ce1b399041bd53eba2354cd52555.zip |
vpn: T2226: missed command for show vpn remote-access
-rwxr-xr-x | src/op_mode/show_vpn_ra.py | 4 |
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 |