summaryrefslogtreecommitdiffstats
path: root/etc/inc/gwlb.inc
diff options
context:
space:
mode:
authorSeth Mos <seth.mos@xs4all.nl>2008-11-01 19:28:10 +0000
committerSeth Mos <seth.mos@xs4all.nl>2008-11-01 19:28:10 +0000
commit12348eb4aa094f117923c6ca038aa16ab92d8c3e (patch)
treeb58f798c496974b3cc1c6e060ce5827c963ac09b /etc/inc/gwlb.inc
parenteb1ce5ee9d6bbaf8fa1a2a924ee811369623e3b6 (diff)
downloadpfsense-12348eb4aa094f117923c6ca038aa16ab92d8c3e.zip
pfsense-12348eb4aa094f117923c6ca038aa16ab92d8c3e.tar.gz
Fix existing static gateway check.
Diffstat (limited to 'etc/inc/gwlb.inc')
-rw-r--r--etc/inc/gwlb.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/gwlb.inc b/etc/inc/gwlb.inc
index a58fbc5..e1f76fa 100644
--- a/etc/inc/gwlb.inc
+++ b/etc/inc/gwlb.inc
@@ -224,7 +224,7 @@ function return_gateways_array() {
foreach($iflist as $ifname => $if ) {
$gateway = array();
$friendly = convert_real_interface_to_friendly_interface_name($ifname);
- if(is_ipaddr($config[$friendly]['gateway'])) {
+ if(lookup_gateway_ip_by_name($config['interfaces'][$friendly]['gateway'])) {
/* static configs are automatically from the array */
continue;
}
OpenPOWER on IntegriCloud