mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Take into account that pptp might be configured for redir mode too!(Is this mode still needed or should it be set at the port forward tab?!)
This commit is contained in:
parent
5dfaa6b355
commit
49624309be
@ -454,7 +454,7 @@ function generate_optcfg_array()
|
||||
$FilterIflist[$if] = $oic;
|
||||
}
|
||||
|
||||
if ($config['pptpd']['mode'] == "server") {
|
||||
if ($config['pptpd']['mode'] == "server" || $config['pptpd']['mode'] == "redir") {
|
||||
$oic = array();
|
||||
$oic['if'] = 'pptp';
|
||||
$oic['descr'] = 'PPTP';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user