Revision 77b70d6b
Added by Ermal LUÇI about 14 years ago
etc/inc/gwlb.inc | ||
---|---|---|
272 | 272 |
|
273 | 273 |
$gateways_arr = array(); |
274 | 274 |
|
275 |
if (0) { |
|
275 | 276 |
$i = 0; |
276 | 277 |
/* Process/add all the configured gateways. */ |
277 | 278 |
if (is_array($config['gateways']['gateway_item'])) { |
... | ... | |
303 | 304 |
$i++; |
304 | 305 |
} |
305 | 306 |
} |
307 |
} |
|
306 | 308 |
|
307 | 309 |
/* Loop through all interfaces with a gateway and add it to a array */ |
308 | 310 |
if ($disabled == false) |
... | ... | |
568 | 570 |
return ($gw); |
569 | 571 |
} |
570 | 572 |
|
571 |
?> |
|
573 |
?> |
Also available in: Unified diff
Disable the default route switching code since its causing more issues than solving. It needs more work to get re-enabled.