summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/conf.default/config.xml2
-rw-r--r--src/etc/inc/globals.inc2
-rw-r--r--src/etc/inc/upgrade_config.inc32
3 files changed, 20 insertions, 16 deletions
diff --git a/src/conf.default/config.xml b/src/conf.default/config.xml
index 3fefbf9..fcd26e8 100644
--- a/src/conf.default/config.xml
+++ b/src/conf.default/config.xml
@@ -1,6 +1,6 @@
<?xml version="1.0"?>
<pfsense>
- <version>12.8</version>
+ <version>12.9</version>
<lastchange/>
<system>
<optimization>normal</optimization>
diff --git a/src/etc/inc/globals.inc b/src/etc/inc/globals.inc
index 18eabf8..b7cc66b 100644
--- a/src/etc/inc/globals.inc
+++ b/src/etc/inc/globals.inc
@@ -71,7 +71,7 @@ $g = array(
"disablecrashreporter" => false,
"crashreporterurl" => "https://crashreporter.pfsense.org/crash_reporter.php",
"debug" => false,
- "latest_config" => "12.8",
+ "latest_config" => "12.9",
"nopkg_platforms" => array("cdrom"),
"minimum_ram_warning" => "101",
"minimum_ram_warning_text" => "128 MB",
diff --git a/src/etc/inc/upgrade_config.inc b/src/etc/inc/upgrade_config.inc
index 41a09d8..a09d5d8 100644
--- a/src/etc/inc/upgrade_config.inc
+++ b/src/etc/inc/upgrade_config.inc
@@ -4056,20 +4056,6 @@ function upgrade_125_to_126() {
function upgrade_126_to_127() {
global $config;
- /* net.inet.ip.fastforwarding does not exist in 2.3. */
- if (isset($config['sysctl']) && is_array($config['sysctl']) &&
- isset($config['sysctl']['item']) && is_array($config['sysctl']['item'])) {
- $i = 0;
- $tmp['item'] = array();
- foreach ($config['sysctl']['item'] as $sysctl) {
- if ($sysctl['tunable'] === "net.inet.ip.fastforwarding")
- continue;
- $tmp['item'][$i++] = $sysctl;
- }
- $config['sysctl'] = $tmp;
- unset($tmp);
- }
-
if (!isset($config['widgets']['sequence'])) {
return;
}
@@ -4119,4 +4105,22 @@ function upgrade_127_to_128() {
unset($config['ipsec']['enable']);
}
+function upgrade_128_to_129() {
+ global $config;
+
+ /* net.inet.ip.fastforwarding does not exist in 2.3. */
+ if (isset($config['sysctl']) && is_array($config['sysctl']) &&
+ isset($config['sysctl']['item']) && is_array($config['sysctl']['item'])) {
+ $i = 0;
+ $tmp['item'] = array();
+ foreach ($config['sysctl']['item'] as $sysctl) {
+ if ($sysctl['tunable'] === "net.inet.ip.fastforwarding")
+ continue;
+ $tmp['item'][$i++] = $sysctl;
+ }
+ $config['sysctl'] = $tmp;
+ unset($tmp);
+ }
+}
+
?>
OpenPOWER on IntegriCloud