mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-14 16:44:39 +00:00
more gateway related cleanups, luckily this can't happen as well group->ipprotocol doesn't exist. for https://github.com/opnsense/core/issues/2279
This commit is contained in:
parent
607dbfbd8f
commit
faa0a356c9
@ -637,18 +637,6 @@ $( document ).ready(function() {
|
||||
foreach ($aliaslist as $aliasip => $aliasif) {
|
||||
$interfaces[$aliasif.'|'.$aliasip] = $aliasip." (".get_vip_descr($aliasip).")";
|
||||
}
|
||||
$grouplist = return_gateway_groups_array();
|
||||
foreach ($grouplist as $name => $group) {
|
||||
if ($group['ipprotocol'] != "inet") {
|
||||
continue;
|
||||
}
|
||||
if ($group[0]['vip'] != '') {
|
||||
$vipif = $group[0]['vip'];
|
||||
} else {
|
||||
$vipif = $group[0]['int'];
|
||||
}
|
||||
$interfaces[$name] = "GW Group {$name}";
|
||||
}
|
||||
$interfaces['lo0'] = "Localhost";
|
||||
$interfaces['any'] = "any";
|
||||
foreach ($interfaces as $iface => $ifacename) :
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user