Revision 67e5e3c6
Added by Renato Botelho almost 12 years ago
conf.default/config.xml | ||
---|---|---|
1 | 1 |
<?xml version="1.0"?> |
2 | 2 |
<!-- pfSense default system configuration --> |
3 | 3 |
<pfsense> |
4 |
<version>9.8</version>
|
|
4 |
<version>9.9</version>
|
|
5 | 5 |
<lastchange></lastchange> |
6 | 6 |
<theme>pfsense_ng</theme> |
7 | 7 |
<sysctl> |
etc/inc/globals.inc | ||
---|---|---|
72 | 72 |
"disablecrashreporter" => false, |
73 | 73 |
"crashreporterurl" => "http://crashreporter.pfsense.org/crash_reporter.php", |
74 | 74 |
"debug" => false, |
75 |
"latest_config" => "9.8",
|
|
75 |
"latest_config" => "9.9",
|
|
76 | 76 |
"nopkg_platforms" => array("cdrom"), |
77 | 77 |
"minimum_ram_warning" => "101", |
78 | 78 |
"minimum_ram_warning_text" => "128 MB", |
etc/inc/upgrade_config.inc | ||
---|---|---|
3142 | 3142 |
/* Disable kill_states by default */ |
3143 | 3143 |
$config['system']['kill_states'] = true; |
3144 | 3144 |
} |
3145 |
|
|
3146 |
function upgrade_098_to_099() { |
|
3147 |
global $config, $g; |
|
3148 |
|
|
3149 |
if (!is_array($config['captiveportal'])) |
|
3150 |
return; |
|
3151 |
|
|
3152 |
foreach ($config['captiveportal'] as $cpzone => $cp) { |
|
3153 |
if (!is_array($cp['passthrumac'])) |
|
3154 |
continue; |
|
3155 |
|
|
3156 |
foreach ($cp['passthrumac'] as $idx => $passthrumac) |
|
3157 |
$config['captiveportal'][$cpzone]['passthrumac'][$idx]['action'] = 'pass'; |
|
3158 |
} |
|
3159 |
} |
|
3145 | 3160 |
?> |
Also available in: Unified diff
Set action = pass for configured mac addresses on CP passtrumac