summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2009-12-30 16:54:09 +0000
committerErmal Luçi <eri@pfsense.org>2009-12-30 16:54:09 +0000
commitb52f883a44acd97471ad3bd6e44f6e274676a14a (patch)
tree4225f91a7d33f46722383511105c353051af59ae /etc
parentea25d26d340d38d4da59a86114dbe444c555e720 (diff)
downloadpfsense-b52f883a44acd97471ad3bd6e44f6e274676a14a.zip
pfsense-b52f883a44acd97471ad3bd6e44f6e274676a14a.tar.gz
Fix var names/
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/util.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/util.inc b/etc/inc/util.inc
index 498f14a..8ec4470 100644
--- a/etc/inc/util.inc
+++ b/etc/inc/util.inc
@@ -306,7 +306,7 @@ function is_port($port) {
continue;
if (!ctype_digit($tmpport))
return false;
- else if ((intval($port) < 1) || (intval($port) > 65535))
+ else if ((intval($tmpport) < 1) || (intval($tmpport) > 65535))
return false;
}
return true;
OpenPOWER on IntegriCloud