mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-15 17:14:46 +00:00
(gwlb.inc) ok, this looks odd, I can't find a valid use of "ipprotocol" in the gatewaygroups. (other then the one filter.inc)
This commit is contained in:
parent
ee8955e49d
commit
2dbc3ab259
@ -913,8 +913,6 @@ function filter_generate_gateways()
|
||||
if (is_array($GatewayGroupsList)) {
|
||||
foreach ($GatewayGroupsList as $gateway => $members) {
|
||||
$route = "";
|
||||
/* hey, that's not a group member! */
|
||||
unset($members['ipprotocol']);
|
||||
if (count($members) > 0) {
|
||||
$foundlb = 0;
|
||||
$routeto = "";
|
||||
|
||||
@ -860,7 +860,9 @@ function return_gateway_groups_array()
|
||||
}
|
||||
|
||||
if (!empty($gateway['interface'])) {
|
||||
$gateway_groups_array[$group['name']]['ipprotocol'] = $gateway['ipprotocol'];
|
||||
if (empty($gateway_groups_array[$group['name']])) {
|
||||
$gateway_groups_array[$group['name']] = array();
|
||||
}
|
||||
if (is_ipaddr($gatewayip)) {
|
||||
$groupmember = array();
|
||||
$groupmember['int'] = $gateway['interface'];
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user