mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-14 16:44:39 +00:00
gateway related cleanups, unused return_gateway_groups_array() usage, related to https://github.com/opnsense/core/issues/2279
This commit is contained in:
parent
0015ec92ab
commit
09a7d8aef6
@ -385,16 +385,6 @@ $( document ).ready(function() {
|
||||
foreach ($aliaslist as $aliasip => $aliasif) {
|
||||
$iflabels[$aliasip] = $aliasip." (".get_vip_descr($aliasip).")";
|
||||
}
|
||||
|
||||
$grouplist = return_gateway_groups_array();
|
||||
foreach ($grouplist as $name => $group) {
|
||||
if ($group[0]['vip'] != '') {
|
||||
$vipif = $group[0]['vip'];
|
||||
} else {
|
||||
$vipif = $group[0]['int'];
|
||||
}
|
||||
$iflabels[$name] = "GW Group {$name}";
|
||||
}
|
||||
$if = $iflabels[$ph1ent['interface']];
|
||||
} else {
|
||||
$if = "WAN";
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user