summaryrefslogtreecommitdiffstats
path: root/etc/inc/gwlb.inc
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2011-05-18 19:43:52 +0000
committerErmal <eri@pfsense.org>2011-05-18 19:43:52 +0000
commit77b70d6bc47d6dd5da4022dc62614d7ec4a82b3f (patch)
treed6f309cbf0cb854d2b7070f6fe1ce9ea51d5c69c /etc/inc/gwlb.inc
parent7171b7b65dfe9b4a93220b31d689c0fa7e1da40e (diff)
downloadpfsense-77b70d6bc47d6dd5da4022dc62614d7ec4a82b3f.zip
pfsense-77b70d6bc47d6dd5da4022dc62614d7ec4a82b3f.tar.gz
Disable the default route switching code since its causing more issues than solving. It needs more work to get re-enabled.
Diffstat (limited to 'etc/inc/gwlb.inc')
-rw-r--r--etc/inc/gwlb.inc4
1 files changed, 3 insertions, 1 deletions
diff --git a/etc/inc/gwlb.inc b/etc/inc/gwlb.inc
index 9bf162c..93c7140 100644
--- a/etc/inc/gwlb.inc
+++ b/etc/inc/gwlb.inc
@@ -272,6 +272,7 @@ function return_gateways_array($disabled = false) {
$gateways_arr = array();
+ if (0) {
$i = 0;
/* Process/add all the configured gateways. */
if (is_array($config['gateways']['gateway_item'])) {
@@ -303,6 +304,7 @@ function return_gateways_array($disabled = false) {
$i++;
}
}
+ }
/* Loop through all interfaces with a gateway and add it to a array */
if ($disabled == false)
@@ -568,4 +570,4 @@ function get_interface_gateway($interface, &$dynamic = false) {
return ($gw);
}
-?> \ No newline at end of file
+?>
OpenPOWER on IntegriCloud