gateway related cleanups, unused return_gateway_groups_array() usage, related to https://github.com/opnsense/core/issues/2279

This commit is contained in:
Ad Schellevis 2019-04-09 15:11:45 +02:00
parent 0015ec92ab
commit 09a7d8aef6

View File

@ -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";