From faa0a356c94e225bee337bed6255c306de37e8e0 Mon Sep 17 00:00:00 2001 From: Ad Schellevis Date: Tue, 9 Apr 2019 15:01:20 +0200 Subject: [PATCH] more gateway related cleanups, luckily this can't happen as well group->ipprotocol doesn't exist. for https://github.com/opnsense/core/issues/2279 --- src/www/vpn_openvpn_client.php | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/www/vpn_openvpn_client.php b/src/www/vpn_openvpn_client.php index 3d7adab3c..b90f07e73 100644 --- a/src/www/vpn_openvpn_client.php +++ b/src/www/vpn_openvpn_client.php @@ -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) :