diff options
author | Ermal <eri@pfsense.org> | 2010-11-25 12:31:08 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2010-11-25 12:31:08 +0000 |
commit | 979c816c6dfa2e618df20a0e25387c43e2888b11 (patch) | |
tree | 660ba6e5d15ed91839992b25903e9650b12b6068 /etc/inc/gwlb.inc | |
parent | a980df9c1b8e839880295d37f6fba990cb98a30c (diff) | |
download | pfsense-979c816c6dfa2e618df20a0e25387c43e2888b11.zip pfsense-979c816c6dfa2e618df20a0e25387c43e2888b11.tar.gz |
Do not guess the defaultgw this is static info.
Diffstat (limited to 'etc/inc/gwlb.inc')
-rw-r--r-- | etc/inc/gwlb.inc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/etc/inc/gwlb.inc b/etc/inc/gwlb.inc index 7362c373..8f7f381 100644 --- a/etc/inc/gwlb.inc +++ b/etc/inc/gwlb.inc @@ -291,13 +291,14 @@ function return_gateways_array($disabled = false) { $gateway['friendlyiface'] = $gateway['interface']; $gateway['interface'] = get_real_interface($gateway['interface']); - /* Some interface like wan might be default but have no info recorded + /* FIXME: Should this be enabled. + * Some interface like wan might be default but have no info recorded * the config. - */ if ($gateway['friendlyiface'] == "wan" && !isset($gateway['defaultgw'])) { if (file_exists("{$g['tmp_path']}/{$gateway['interface']}_defaultgw")) $gateway['defaultgw'] = true; } + */ /* include the gateway index as the attribute */ $gateway['attribute'] = $i; @@ -532,4 +533,4 @@ function get_interface_gateway($interface, &$dynamic = false) { return ($gw); } -?>
\ No newline at end of file +?> |