diff options
author | DmitriyEshenko <dmitriy.eshenko@vyos.io> | 2020-04-16 20:27:46 +0000 |
---|---|---|
committer | DmitriyEshenko <dmitriy.eshenko@vyos.io> | 2020-04-16 20:27:46 +0000 |
commit | 87ad1faeff250c5bcf4596f00107536f34b10235 (patch) | |
tree | f589c9ed4cd7e131d42c2a32f1362773f61cf558 /op-mode-definitions | |
parent | 601da2d41437220063de274e9adbac19729275d6 (diff) | |
download | vyos-1x-87ad1faeff250c5bcf4596f00107536f34b10235.tar.gz vyos-1x-87ad1faeff250c5bcf4596f00107536f34b10235.zip |
sstp: T2256: Use ppp-server-ctrl.py for op-commands
Diffstat (limited to 'op-mode-definitions')
-rw-r--r-- | op-mode-definitions/sstp-server.xml | 6 |
1 files 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 @@ <children> <node name="sstp-server"> <properties> - <help>show sstp-server status</help> + <help>Show SSTP server information</help> </properties> <children> <leafNode name="sessions"> <properties> <help>Show active SSTP server sessions</help> </properties> - <command>/usr/bin/accel-cmd -p 2005 'show sessions ifname,username,ip,ip6,ip6-dp,calling-sid,rate-limit,state,uptime,rx-bytes,tx-bytes'</command> + <command>${vyos_op_scripts_dir}/ppp-server-ctrl.py --proto="sstp" --action="show sessions"</command> </leafNode> <leafNode name="statistics"> <properties> <help>Show SSTP server statistics</help> </properties> - <command>/usr/bin/accel-cmd -p 2005 'show stat'</command> + <command>${vyos_op_scripts_dir}/ppp-server-ctrl.py --proto="sstp" --action="show stat"</command> </leafNode> </children> </node> |