diff options
author | Ermal <eri@pfsense.org> | 2010-06-01 20:49:21 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2010-06-01 20:49:21 +0000 |
commit | b90996c50415866e4604d2af54da4d76fc73f4b5 (patch) | |
tree | 6ca8f7fb100ae90c12f09afe6474ec28fa7bfeda | |
parent | e06b7fa20eb06d3bd17bd25c622138dc5622a5ee (diff) | |
download | pfsense-b90996c50415866e4604d2af54da4d76fc73f4b5.zip pfsense-b90996c50415866e4604d2af54da4d76fc73f4b5.tar.gz |
Add forgotten newlines.
-rwxr-xr-x | usr/local/captiveportal/index.php | 4 |
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; |