Revision f666442a
Added by Scott Ullrich almost 20 years ago
etc/inc/captiveportal.inc | ||
---|---|---|
325 | 325 |
syslog(LOG_INFO,"Authenticated user $cpdb[$i][4] disconnected"); |
326 | 326 |
} |
327 | 327 |
|
328 |
/* XXX: What's $ip? This can't be working?!?!?! --billm */ |
|
329 |
mwexec("/sbin/pfctl -t captiveportal -T delete {$ip}"); |
|
328 |
mwexec("/sbin/pfctl -t captiveportal -T delete {$cpdb[$i][2]}"); |
|
330 | 329 |
|
331 | 330 |
unset($cpdb[$i]); |
332 | 331 |
|
etc/inc/config.inc | ||
---|---|---|
1230 | 1230 |
function backup_config() { |
1231 | 1231 |
global $config, $g; |
1232 | 1232 |
|
1233 |
/* XXX: temporary */ |
|
1234 | 1233 |
if($g['platform'] == "cdrom") |
1235 | 1234 |
return; |
1236 | 1235 |
|
Also available in: Unified diff
Fix a XXX