mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-20 11:26:13 +00:00
This commit is contained in:
parent
ee7be889ed
commit
687097ab71
@ -962,7 +962,7 @@ function filter_generate_optcfg_array()
|
||||
$FilterIflist['openvpn'] = $oic;
|
||||
}
|
||||
/* add interface groups */
|
||||
if(isset($config['ifgroups']['ifgroupentry']) && is_array($config['ifgroups']['ifgroupentry'])) {
|
||||
if(isset($config['ifgroups']['ifgroupentry'])) {
|
||||
foreach($config['ifgroups']['ifgroupentry'] as $ifgen) {
|
||||
$oc = array();
|
||||
$oc['if'] = $ifgen['ifname'];
|
||||
|
||||
@ -4580,7 +4580,7 @@ function link_interface_to_vlans($int, $action = "") {
|
||||
function link_interface_to_vips($int, $action = "") {
|
||||
global $config;
|
||||
|
||||
if (isset($config['virtualip']['vip']) && is_array($config['virtualip']['vip'])) {
|
||||
if (isset($config['virtualip']['vip'])) {
|
||||
$result = array();
|
||||
foreach ($config['virtualip']['vip'] as $vip) {
|
||||
if ($int == $vip['interface']) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user