diff options
author | Ermal <eri@pfsense.org> | 2010-05-21 12:29:07 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2010-05-21 12:29:07 +0000 |
commit | 61630681e0c36bbe9b05d2a51bf742a3c7b9a2de (patch) | |
tree | 157e1a5979e5f87d11ab29f1ae7a21af1fa04019 | |
parent | c099a98759a659267bf0729246a254d778d54a31 (diff) | |
download | pfsense-61630681e0c36bbe9b05d2a51bf742a3c7b9a2de.zip pfsense-61630681e0c36bbe9b05d2a51bf742a3c7b9a2de.tar.gz |
Remove unecessary check.
-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 2411892..80cfc40 100644 --- a/etc/inc/gwlb.inc +++ b/etc/inc/gwlb.inc @@ -148,7 +148,7 @@ EOD; foreach($gateways_arr as $name => $gateway) { $gwref = $a_gateway_item[$gateway['attribute']]; /* for dynamic gateways without an IP address we subtitute a local one */ - if((is_numeric($gateway['attribute'])) && is_ipaddr($gwref['monitor'])) { + if(is_ipaddr($gwref['monitor'])) { $gateway['monitor'] = $gwref['monitor']; } else { if ($gateway['gateway'] == "dynamic") { |