summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-04-28 04:08:27 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-04-28 04:08:27 +0000
commita31a458275195000e1dfea9698a2417ef100b8de (patch)
tree77244a646f05fa9beb5597dc303cd56553b1bec9 /usr
parent522a95b69f7bd52811829f562a9192d2ffa76d73 (diff)
downloadpfsense-a31a458275195000e1dfea9698a2417ef100b8de.zip
pfsense-a31a458275195000e1dfea9698a2417ef100b8de.tar.gz
Shutdown client instances upon deleting.
Diffstat (limited to 'usr')
-rw-r--r--usr/local/pkg/openvpn_cli.xml3
1 files changed, 3 insertions, 0 deletions
diff --git a/usr/local/pkg/openvpn_cli.xml b/usr/local/pkg/openvpn_cli.xml
index 528fc7a..042b184 100644
--- a/usr/local/pkg/openvpn_cli.xml
+++ b/usr/local/pkg/openvpn_cli.xml
@@ -230,6 +230,9 @@
<type>input</type>
</field>
</fields>
+ <custom_delete_php_command>
+ openvpn_delete('client', $id);
+ </custom_delete_php_command>
<custom_php_command_before_form>
openvpn_get_ciphers(&amp;$pkg);
</custom_php_command_before_form>
OpenPOWER on IntegriCloud