From 8e19b5b0c7a0ce1b399041bd53eba2354cd52555 Mon Sep 17 00:00:00 2001 From: Thomas Mangin Date: Mon, 25 May 2020 17:08:11 +0100 Subject: vpn: T2226: missed command for show vpn remote-access --- src/op_mode/show_vpn_ra.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/op_mode') 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 -- cgit v1.2.3