Project

General

Profile

« Previous | Next » 

Revision 2360abcc

Added by Luiz Souza about 5 years ago

Fix #9647.

Instead of forcing the defaults in the OS driver (introducing yet another
change), set the default to enable ALTQ support for hnX NICs in loader.conf.

Ticket: #9647

View differences:

src/conf.default/config.xml
1 1
<?xml version="1.0"?>
2 2
<pfsense>
3
	<version>20.6</version>
3
	<version>20.7</version>
4 4
	<lastchange/>
5 5
	<system>
6 6
		<optimization>normal</optimization>
src/etc/inc/globals.inc
70 70
	"disablehelpicon" => false,
71 71
	"disablecrashreporter" => false,
72 72
	"debug" => false,
73
	"latest_config" => "20.6",
73
	"latest_config" => "20.7",
74 74
	"minimum_ram_warning" => "101",
75 75
	"minimum_ram_warning_text" => "128 MB",
76 76
	"wan_interface_name" => "wan",
src/etc/inc/pfsense-utils.inc
1336 1336
	}
1337 1337
	$data[] = 'net.pf.request_maxcount="' .  $maximumtableentries . '"';
1338 1338

  
1339
	/* Enable ALTQ support for hnX NICs. */
1340
	$data[] = 'hw.hn.vf_transparent=0';
1341
	$data[] = 'hw.hn.use_if_start=1';
1342

  
1339 1343
	safe_write_file($loader_conf_file, $data);
1340 1344

  
1341 1345
	/* Filter loader.conf.local to avoid duplicate settings. */
src/etc/inc/upgrade_config.inc
6246 6246
	console_configure();
6247 6247
}
6248 6248

  
6249
function upgrade_206_to_207()
6250
	/*
6251
	 * Trigger a boot loader settings update to make sure the contents will
6252
	 * be updated before the reboot.
6253
	 */
6254
	console_configure();
6255
}
6256

  
6249 6257
/*
6250 6258
 * Special function that is called independent of current config version. It's
6251 6259
 * a workaround to have config_upgrade running on older versions after next

Also available in: Unified diff