diff --git a/usr/local/www/vpn_pppoe_users_edit.php b/usr/local/www/vpn_pppoe_users_edit.php index ad0c5c74e5..3aac1b8395 100755 --- a/usr/local/www/vpn_pppoe_users_edit.php +++ b/usr/local/www/vpn_pppoe_users_edit.php @@ -102,7 +102,10 @@ if ($_POST) { $a_secret[] = $secretent; write_config(); - touch($d_pppoeuserdirty_path); + + config_lock(); + $retval = vpn_pppoe_configure(); + config_unlock(); header("Location: vpn_pppoe_users.php"); exit;