Bug #34

Fatal error: Call to undefined function ipsec_get_phase1() in

Added by Angelo Rietdijk over 1 year ago. Updated over 1 year ago.

Status:NewStart date:01/20/2016
Priority:NormalDue date:
Assignee:Angelo Rietdijk% Done:

0%

Category:-
Target version:-

Description

Missing function :
function ipsec_get_phase1_src(& $ph1ent) {
if ($ph1ent['interface']) {
if (!is_ipaddr($ph1ent['interface'])) {
if (strpos($ph1ent['interface'], '_vip')) {
$if = $ph1ent['interface'];
} else {
$if = get_failover_interface($ph1ent['interface']);
}
if ($ph1ent['protocol'] == "inet6") {
$interfaceip = get_interface_ipv6($if);
} else {
$interfaceip = get_interface_ip($if);
}
} else {
$interfaceip = $ph1ent['interface'];
}
} else {
$if = "wan";
if ($ph1ent['protocol'] == "inet6") {
$interfaceip = get_interface_ipv6($if);
} else {
$interfaceip = get_interface_ip($if);
}
}
return $interfaceip;
}

History

#1 Updated by Angelo Rietdijk over 1 year ago

in /etc/inc/ipsec.inc

Also available in: Atom PDF