Project

General

Profile

« Previous | Next » 

Revision 3ef4cae6

Added by Jim Pingle over 13 years ago

Safer for 1.2.3 upgrades to assume OpenVPN interface == any, since 1.2.3 didn't have a way to bind to an interface. Otherwise people accepting connections on opt interfaces on 1.2.3 will break on upgrade until the proper interface is selected in the GUI

View differences:

etc/inc/upgrade_config.inc
1558 1558
			$server['dh_length'] = 1024;
1559 1559
			unset($server['dh_params']);
1560 1560
			if (!$server['interface'])
1561
				$server['interface'] = 'wan';
1561
				$server['interface'] = 'any';
1562 1562
			$server['tunnel_network'] = $server['addresspool'];
1563 1563
			unset($server['addresspool']);
1564 1564
			if (isset($server['use_lzo'])) {

Also available in: Unified diff