gateway related cleanups, it must be my lucky day, since we killed get_failover_interface() in ipsec_get_phase1_src() a long time ago, there's no way this can do anythging useful. related to https://github.com/opnsense/core/issues/2279

This commit is contained in:
Ad Schellevis 2019-04-09 15:08:15 +02:00
parent faa0a356c9
commit 0015ec92ab

View File

@ -668,18 +668,6 @@ include("head.inc");
foreach ($aliaslist as $aliasip => $aliasif) {
$interfaces[$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'];
}
$interfaces[$name] = "GW Group {$name}";
}
foreach ($interfaces as $iface => $ifacename) :
?>
<option value="<?=$iface;?>" <?= $iface == $pconfig['interface'] ? "selected=\"selected\"" : "" ?> >