summaryrefslogtreecommitdiffstats
path: root/usr/local/captiveportal
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2010-06-01 20:49:21 +0000
committerErmal <eri@pfsense.org>2010-06-01 20:49:21 +0000
commitb90996c50415866e4604d2af54da4d76fc73f4b5 (patch)
tree6ca8f7fb100ae90c12f09afe6474ec28fa7bfeda /usr/local/captiveportal
parente06b7fa20eb06d3bd17bd25c622138dc5622a5ee (diff)
downloadpfsense-b90996c50415866e4604d2af54da4d76fc73f4b5.zip
pfsense-b90996c50415866e4604d2af54da4d76fc73f4b5.tar.gz
Add forgotten newlines.
Diffstat (limited to 'usr/local/captiveportal')
-rwxr-xr-xusr/local/captiveportal/index.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/captiveportal/index.php b/usr/local/captiveportal/index.php
index a4485ea..fc75e1e 100755
--- a/usr/local/captiveportal/index.php
+++ b/usr/local/captiveportal/index.php
@@ -300,9 +300,9 @@ function portal_allow($clientip,$clientmac,$username,$password = null, $attribut
$ruleno = captiveportal_get_ipfw_passthru_ruleno($mac['mac']);
if ($ruleno) {
captiveportal_free_ipfw_ruleno($ruleno, true);
- $macrules .= "delete {$ruleno}";
+ $macrules .= "delete {$ruleno}\n";
++$ruleno;
- $macrules .= "delete {$ruleno}";
+ $macrules .= "delete {$ruleno}\n";
}
unset($config['captiveportal']['passthrumac'][$idx]);
$mac['mac'] = $clientmac;
OpenPOWER on IntegriCloud