diff options
Diffstat (limited to 'usr/local/www/vpn_pptp.php')
-rwxr-xr-x | usr/local/www/vpn_pptp.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/usr/local/www/vpn_pptp.php b/usr/local/www/vpn_pptp.php index 7f9f80a..b2f7e59 100755 --- a/usr/local/www/vpn_pptp.php +++ b/usr/local/www/vpn_pptp.php @@ -127,8 +127,6 @@ if ($_POST) { } } unset($config['pptpd']['mode']); - - write_config(); } if (!$input_errors) { @@ -188,7 +186,7 @@ if ($_POST) { write_config(); $retval = 0; - $retval = vpn_setup(); + $retval = vpn_pptpd_configure(); $savemsg = get_std_save_message($retval); filter_configure(); |