diff options
author | Chris Buechler <cmb@pfsense.org> | 2009-07-16 21:42:10 -0400 |
---|---|---|
committer | Chris Buechler <cmb@pfsense.org> | 2009-07-16 21:42:10 -0400 |
commit | a67a0922b423fdde34650aa2fd7174241508e925 (patch) | |
tree | 0281975ca55e431c3e37a9108189e82ff18e27ee /usr | |
parent | dc1019197e5430c9e0c432304eee0c09c211f6ea (diff) | |
download | pfsense-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-x | usr/local/www/vpn_pptp.php | 7 |
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']); } |