summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-09-22 22:22:29 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-09-22 22:22:29 +0000
commit6fa4bdc672e0da8651a6d3fc5ff7226080f3a471 (patch)
tree841aabb733ecb442d3b2afa5b9f4b482bfc300e5 /usr
parentde27c94dd8c9ee8a63f98909b0f693e6d6b09528 (diff)
downloadpfsense-6fa4bdc672e0da8651a6d3fc5ff7226080f3a471.zip
pfsense-6fa4bdc672e0da8651a6d3fc5ff7226080f3a471.tar.gz
Correct carp bringup sequence
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/captiveportal/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/captiveportal/index.php b/usr/local/captiveportal/index.php
index a6a3581..bf4ab74 100755
--- a/usr/local/captiveportal/index.php
+++ b/usr/local/captiveportal/index.php
@@ -43,7 +43,7 @@ header("Pragma: no-cache");
$orig_host = $_ENV['HTTP_HOST'];
$orig_request = $_ENV['CAPTIVE_REQPATH'];
$lockfile = "{$g['varrun_path']}/captiveportal.lock";
-$clientip = $_ENV['REMOTE_ADDR'];
+$clientip = $_SERVER['REMOTE_ADDR'];
if (!$clientip) {
/* not good - bail out */
OpenPOWER on IntegriCloud