summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2013-08-01 17:51:49 +0000
committerErmal <eri@pfsense.org>2013-08-01 17:52:15 +0000
commitd6be721eed7bcb291b6be55b3e07f6529a21dd03 (patch)
tree2782e37dcc6dd81ec3bef52cd811416aadd70108 /etc
parent907e2d61972379074ac5c77df4bb56aee7650b37 (diff)
downloadpfsense-d6be721eed7bcb291b6be55b3e07f6529a21dd03.zip
pfsense-d6be721eed7bcb291b6be55b3e07f6529a21dd03.tar.gz
Resolves #3121. Fix the command so it does perform correctly
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/captiveportal.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/captiveportal.inc b/etc/inc/captiveportal.inc
index 990b529..a4b5dc5 100644
--- a/etc/inc/captiveportal.inc
+++ b/etc/inc/captiveportal.inc
@@ -1865,7 +1865,7 @@ function portal_allow($clientip,$clientmac,$username,$password = null, $attribut
unlock($cpdblck);
$macrules = captiveportal_passthrumac_configure_entry($mac);
file_put_contents("{$g['tmp_path']}/macentry_{$cpzone}.rules.tmp", $macrules);
- mwexec("/sbin/ipfw -x {$cpzone}-q {$g['tmp_path']}/macentry_{$cpzone}.rules.tmp");
+ mwexec("/sbin/ipfw -x {$cpzone} -q {$g['tmp_path']}/macentry_{$cpzone}.rules.tmp");
$writecfg = true;
} else {
/* See if a pipeno is passed, if not start sessions because this means there isn't one atm */
OpenPOWER on IntegriCloud