mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
don't delete PPTP rules when disabling PPTP. Enable/disable happens too much given the issues with PPTP outbound when server is enabled.
This commit is contained in:
parent
dc1019197e
commit
a67a0922b4
@ -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']);
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user