summaryrefslogtreecommitdiff
path: root/op-mode-definitions/sstp-server.xml
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-04-17 08:10:56 +0200
committerGitHub <noreply@github.com>2020-04-17 08:10:56 +0200
commit3964ee10a3a85e3655135d7e0235b4d1b2f08214 (patch)
tree8123ceab6e6cfba7cb31fe0de4e1542a7b690266 /op-mode-definitions/sstp-server.xml
parentb4544f196c2beededdd76f581690b1490c755dac (diff)
parent4b3510f7726812e4f697a03cba14751d27db4fd8 (diff)
downloadvyos-1x-3964ee10a3a85e3655135d7e0235b4d1b2f08214.tar.gz
vyos-1x-3964ee10a3a85e3655135d7e0235b4d1b2f08214.zip
Merge pull request #350 from DmitriyEshenko/impl-uf-op-ppp
vpn: T2256: Improve op commands for l2tp, pptp, sstp and pppoe servers
Diffstat (limited to 'op-mode-definitions/sstp-server.xml')
-rw-r--r--op-mode-definitions/sstp-server.xml6
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>