summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorChris Buechler <cmb@pfsense.org>2009-07-16 21:42:10 -0400
committerChris Buechler <cmb@pfsense.org>2009-07-16 21:42:10 -0400
commita67a0922b423fdde34650aa2fd7174241508e925 (patch)
tree0281975ca55e431c3e37a9108189e82ff18e27ee /usr
parentdc1019197e5430c9e0c432304eee0c09c211f6ea (diff)
downloadpfsense-a67a0922b423fdde34650aa2fd7174241508e925.zip
pfsense-a67a0922b423fdde34650aa2fd7174241508e925.tar.gz
don't delete PPTP rules when disabling PPTP. Enable/disable happens too much given the issues with PPTP outbound when server is enabled.
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