Revision d6be721e
Added by Ermal LUÇI about 12 years ago
etc/inc/captiveportal.inc | ||
---|---|---|
1865 | 1865 |
unlock($cpdblck); |
1866 | 1866 |
$macrules = captiveportal_passthrumac_configure_entry($mac); |
1867 | 1867 |
file_put_contents("{$g['tmp_path']}/macentry_{$cpzone}.rules.tmp", $macrules); |
1868 |
mwexec("/sbin/ipfw -x {$cpzone}-q {$g['tmp_path']}/macentry_{$cpzone}.rules.tmp"); |
|
1868 |
mwexec("/sbin/ipfw -x {$cpzone} -q {$g['tmp_path']}/macentry_{$cpzone}.rules.tmp");
|
|
1869 | 1869 |
$writecfg = true; |
1870 | 1870 |
} else { |
1871 | 1871 |
/* See if a pipeno is passed, if not start sessions because this means there isn't one atm */ |
Also available in: Unified diff
Resolves #3121. Fix the command so it does perform correctly