diff options
author | Seth Mos <seth.mos@xs4all.nl> | 2008-11-01 19:28:10 +0000 |
---|---|---|
committer | Seth Mos <seth.mos@xs4all.nl> | 2008-11-01 19:28:10 +0000 |
commit | 12348eb4aa094f117923c6ca038aa16ab92d8c3e (patch) | |
tree | b58f798c496974b3cc1c6e060ce5827c963ac09b /etc | |
parent | eb1ce5ee9d6bbaf8fa1a2a924ee811369623e3b6 (diff) | |
download | pfsense-12348eb4aa094f117923c6ca038aa16ab92d8c3e.zip pfsense-12348eb4aa094f117923c6ca038aa16ab92d8c3e.tar.gz |
Fix existing static gateway check.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/gwlb.inc | 2 |
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; } |