summaryrefslogtreecommitdiffstats
path: root/etc/inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-09-13 18:16:06 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-09-13 18:16:06 +0000
commit0016161d0535c8aa849fb4b393b796b595566da0 (patch)
tree3e2b47d20ac3ba1279bb5bf0f276fd454c9d1c5a /etc/inc
parent77482402b1a1240de8060951039ee47393b9e6ac (diff)
downloadpfsense-0016161d0535c8aa849fb4b393b796b595566da0.zip
pfsense-0016161d0535c8aa849fb4b393b796b595566da0.tar.gz
Test on $port == ""
Diffstat (limited to 'etc/inc')
-rw-r--r--etc/inc/filter.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc
index d92c516..e7633e6 100644
--- a/etc/inc/filter.inc
+++ b/etc/inc/filter.inc
@@ -2370,7 +2370,7 @@ function carp_sync_client() {
}
$port = $config['system']['webgui']['port'];
/* if port is empty lets rely on the protocol selection */
- if(!is_int($port)) {
+ if($port == "") {
if($config['system']['webgui']['protocol'] == "http") {
$port = "80";
} else {
OpenPOWER on IntegriCloud