From 87ad1faeff250c5bcf4596f00107536f34b10235 Mon Sep 17 00:00:00 2001 From: DmitriyEshenko Date: Thu, 16 Apr 2020 20:27:46 +0000 Subject: sstp: T2256: Use ppp-server-ctrl.py for op-commands --- op-mode-definitions/sstp-server.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/op-mode-definitions/sstp-server.xml b/op-mode-definitions/sstp-server.xml index 36d0b9985..03dfc4262 100644 --- a/op-mode-definitions/sstp-server.xml +++ b/op-mode-definitions/sstp-server.xml @@ -4,20 +4,20 @@ - show sstp-server status + Show SSTP server information Show active SSTP server sessions - /usr/bin/accel-cmd -p 2005 'show sessions ifname,username,ip,ip6,ip6-dp,calling-sid,rate-limit,state,uptime,rx-bytes,tx-bytes' + ${vyos_op_scripts_dir}/ppp-server-ctrl.py --proto="sstp" --action="show sessions" Show SSTP server statistics - /usr/bin/accel-cmd -p 2005 'show stat' + ${vyos_op_scripts_dir}/ppp-server-ctrl.py --proto="sstp" --action="show stat" -- cgit v1.2.3