Bug #8707 » gwlb-empty-gwname.diff
src/etc/inc/gwlb.inc | ||
---|---|---|
1180 | 1180 |
$backupplan = array(); |
1181 | 1181 |
$gwvip_arr = array(); |
1182 | 1182 |
foreach ($group['item'] as $item) { |
1183 |
if (empty($gwname)) { |
|
1184 |
continue; |
|
1185 |
} |
|
1183 | 1186 |
list($gwname, $tier, $vipname) = explode("|", $item); |
1184 | 1187 | |
1185 | 1188 |
if (is_ipaddr($viplist[$vipname])) { |