mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Check in fix that hopefully fixes IPSEC on pppoe or pptp
This commit is contained in:
parent
ec7f0db216
commit
f5780da72f
@ -864,7 +864,12 @@ function vpn_endpoint_determine($tunnel, $curwanip) {
|
||||
if(preg_match("/^carp/i", $tunnel['interface'])) {
|
||||
$iface = $tunnel['interface'];
|
||||
} else {
|
||||
$iface = $config['interfaces'][$tunnel['interface']]['if'];
|
||||
if($config['interfaces'][$tunnel['interface']]['ipaddr'] == "pppoe" OR
|
||||
$config['interfaces'][$tunnel['interface']]['ipaddr'] == "pptp") {
|
||||
$iface = "ng0";
|
||||
} else {
|
||||
$iface = $config['interfaces'][$tunnel['interface']]['if'];
|
||||
}
|
||||
}
|
||||
$oc = $config['interfaces'][$tunnel['interface']];
|
||||
/* carp ips, etc */
|
||||
|
||||
Loading…
Reference in New Issue
Block a user