Project

General

Profile

« Previous | Next » 

Revision af600fe2

Added by Chris Buechler about 12 years ago

Don't flip the IPv6 allow setting just because people are upgrading. Just upgrading versions shouldn't change this behavior. As much as most of us would like people to start deploying IPv6, the vast majority aren't going to be immediately post-upgrade, and changing this can change the firewall policy behavior by allowing v6 that previously wasn't allowed. Upgrades should never change the firewall behavior like that. At the time it was done, everyone using the 2.1 code base was using it for IPv6, so of course it tripped up quite a few people.

View differences:

etc/inc/upgrade_config.inc
2792 2792
}
2793 2793

  
2794 2794
function upgrade_081_to_082() {
2795
	global $config, $g;
2796
	/* enable the allow IPv6 toggle */
2797
	$config['system']['ipv6allow'] = true;
2795
	/* don't enable the allow IPv6 toggle */
2798 2796
}
2799 2797

  
2800 2798
function upgrade_082_to_083() {

Also available in: Unified diff