summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2010-08-04 09:25:50 -0400
committerjim-p <jimp@pfsense.org>2010-08-04 09:27:00 -0400
commitad487c481c0ed58677fec15a913a8b0de6637256 (patch)
tree7e4fcbd1f4875e1d6cf22fbab118aeb857bded29
parent1336d0826a80534079fe135b029a99058214c306 (diff)
downloadpfsense-ad487c481c0ed58677fec15a913a8b0de6637256.zip
pfsense-ad487c481c0ed58677fec15a913a8b0de6637256.tar.gz
Fix this test.
-rw-r--r--etc/inc/services.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/services.inc b/etc/inc/services.inc
index 65ed7ba..7dc44d6 100644
--- a/etc/inc/services.inc
+++ b/etc/inc/services.inc
@@ -158,7 +158,7 @@ EOD;
foreach ($a_vip as $vipent) {
if($int == $real_dhcpif) {
/* this is the interface! */
- if(!empty($vipent['advskew']) && ($vipent['advskew'] < "20"))
+ if(is_numeric($vipent['advskew']) && ($vipent['advskew'] < "20"))
$skew = 0;
}
}
OpenPOWER on IntegriCloud