summaryrefslogtreecommitdiffstats
path: root/usr/local/www/vpn_l2tp_users.php
diff options
context:
space:
mode:
Diffstat (limited to 'usr/local/www/vpn_l2tp_users.php')
-rw-r--r--usr/local/www/vpn_l2tp_users.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/vpn_l2tp_users.php b/usr/local/www/vpn_l2tp_users.php
index 56a2bd9..9bd96b1 100644
--- a/usr/local/www/vpn_l2tp_users.php
+++ b/usr/local/www/vpn_l2tp_users.php
@@ -51,7 +51,7 @@ if ($_POST) {
if ($_POST['apply']) {
$retval = 0;
- if (!file_exists($d_sysrebootreqd_path)) {
+ if (!is_subsystem_dirty('rebootreq')) {
$retval = vpn_l2tp_configure();
}
$savemsg = get_std_save_message($retval);
OpenPOWER on IntegriCloud