summaryrefslogtreecommitdiff
path: root/op-mode-definitions/reset-vpn.xml
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-04-10 21:09:33 +0200
committerGitHub <noreply@github.com>2020-04-10 21:09:33 +0200
commit2c8c3117093b4e975461c2cf1c15a0d7fc4654cf (patch)
tree232be54c6fedd28044c0f9304ed7f327a4fc663a /op-mode-definitions/reset-vpn.xml
parent881a9b679316b2a2e6d035a8bcb0936cb3415b71 (diff)
parent5e61b09a5d0ad4d4cfd25eafcc95f0d2b1a927b9 (diff)
downloadvyos-1x-2c8c3117093b4e975461c2cf1c15a0d7fc4654cf.tar.gz
vyos-1x-2c8c3117093b4e975461c2cf1c15a0d7fc4654cf.zip
Merge pull request #324 from DmitriyEshenko/fix-res-ra
pptp: l2tp: T2262: Fix call to function run()
Diffstat (limited to 'op-mode-definitions/reset-vpn.xml')
-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>