mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-14 16:44:39 +00:00
cleanup gateway code before actually changing things in https://github.com/opnsense/core/issues/2279
Luckily it wasn't really possible to select a gateway group in openvpn at our end, since interfaces and gatewaygroups are really different things. We need to unravel some of this weirdness first, so we can start reimplementing the gateway code as it is now.
This commit is contained in:
parent
75f74d83a9
commit
607dbfbd8f
@ -769,18 +769,6 @@ $( document ).ready(function() {
|
||||
$aliaslist = get_configured_ip_aliases_list();
|
||||
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";
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user