diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-09-22 22:22:29 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-09-22 22:22:29 +0000 |
commit | 6fa4bdc672e0da8651a6d3fc5ff7226080f3a471 (patch) | |
tree | 841aabb733ecb442d3b2afa5b9f4b482bfc300e5 /usr/local/captiveportal | |
parent | de27c94dd8c9ee8a63f98909b0f693e6d6b09528 (diff) | |
download | pfsense-6fa4bdc672e0da8651a6d3fc5ff7226080f3a471.zip pfsense-6fa4bdc672e0da8651a6d3fc5ff7226080f3a471.tar.gz |
Correct carp bringup sequence
Diffstat (limited to 'usr/local/captiveportal')
-rwxr-xr-x | usr/local/captiveportal/index.php | 2 |
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 */ |