summaryrefslogtreecommitdiff
path: root/op-mode-definitions
diff options
context:
space:
mode:
authorDmitriyEshenko <dmitriy.eshenko@vyos.io>2020-04-10 18:16:15 +0000
committerDmitriyEshenko <dmitriy.eshenko@vyos.io>2020-04-10 18:16:15 +0000
commit5e61b09a5d0ad4d4cfd25eafcc95f0d2b1a927b9 (patch)
treeb9420932d6f7ce46d001814f6a553b515eb1922d /op-mode-definitions
parent927c98f23a6317e2e3565032023d68b753d71037 (diff)
downloadvyos-1x-5e61b09a5d0ad4d4cfd25eafcc95f0d2b1a927b9.tar.gz
vyos-1x-5e61b09a5d0ad4d4cfd25eafcc95f0d2b1a927b9.zip
pptp: l2tp: T2262: Fix call to function run()
Diffstat (limited to 'op-mode-definitions')
-rw-r--r--op-mode-definitions/reset-vpn.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/op-mode-definitions/reset-vpn.xml b/op-mode-definitions/reset-vpn.xml
index c0b0ddeb1..a081ea488 100644
--- a/op-mode-definitions/reset-vpn.xml
+++ b/op-mode-definitions/reset-vpn.xml
@@ -62,13 +62,13 @@
<properties>
<help>Terminate all user's current remote access VPN session(s) with L2TP protocol</help>
</properties>
- <command>sudo ${vyos_op_scripts_dir}/reset_vpn.py --username="all_users" --protocol="l2tp"</command>
+ <command>sudo ${vyos_op_scripts_dir}/reset_vpn.py --username="$5" --protocol="l2tp"</command>
</leafNode>
<leafNode name="pptp">
<properties>
<help>Terminate all user's current remote access VPN session(s) with PPTP protocol</help>
</properties>
- <command>sudo ${vyos_op_scripts_dir}/reset_vpn.py --username="all_users" --protocol="pptp"</command>
+ <command>sudo ${vyos_op_scripts_dir}/reset_vpn.py --username="$5" --protocol="pptp"</command>
</leafNode>
</children>
</node>