summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-06-04 19:56:33 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-06-04 19:56:33 +0000
commit503c732d589f629d86e1730d8657c4ecb78c8cc9 (patch)
treed9e73c1110ba3fab22a070bbdee8b68753c3c5b8 /usr
parent0c612b87772f5ea4906f9098056612434ddad9c2 (diff)
downloadpfsense-503c732d589f629d86e1730d8657c4ecb78c8cc9.zip
pfsense-503c732d589f629d86e1730d8657c4ecb78c8cc9.tar.gz
use the correct field for clientip
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 cd37ff5..46f4b87 100755
--- a/usr/local/captiveportal/index.php
+++ b/usr/local/captiveportal/index.php
@@ -418,7 +418,7 @@ function disconnect_client($sessionid) {
$radiusservers[0]['key'],
$clientip);
}
- mwexec("/sbin/pfctl -t captiveportal -T delete {$clientip}");
+ mwexec("/sbin/pfctl -t captiveportal -T delete {$cpdb[$i][2]}");
unset($cpdb[$i]);
break;
}
OpenPOWER on IntegriCloud