summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/vpn_pptp.php7
1 files changed, 0 insertions, 7 deletions
diff --git a/usr/local/www/vpn_pptp.php b/usr/local/www/vpn_pptp.php
index b2f7e59..1a94c39 100755
--- a/usr/local/www/vpn_pptp.php
+++ b/usr/local/www/vpn_pptp.php
@@ -119,13 +119,6 @@ if ($_POST) {
$input_errors[] = "A valid target address must be specified.";
}
} else {
- /* turning pptp off, lets dump any custom rules */
- $rules = &$config['filter']['rule'];
- for($x=0; $x<count($rules); $x++) {
- if($rules[$x]['interface'] == "pptp") {
- unset($rules[$x]);
- }
- }
unset($config['pptpd']['mode']);
}
OpenPOWER on IntegriCloud