summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2012-01-25 10:56:18 -0500
committerjim-p <jimp@pfsense.org>2012-01-25 10:59:34 -0500
commita15a77380b35e1516bc9b6d9e9202e550a8714f0 (patch)
treedf937bb93f0ff5251896e2a502e2effb3622a5e7
parent7d56708855fcfface163e5c96646794a4e0ac0e5 (diff)
downloadpfsense-a15a77380b35e1516bc9b6d9e9202e550a8714f0.zip
pfsense-a15a77380b35e1516bc9b6d9e9202e550a8714f0.tar.gz
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
-rw-r--r--etc/inc/upgrade_config.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/upgrade_config.inc b/etc/inc/upgrade_config.inc
index 3c27727..3caa67b 100644
--- a/etc/inc/upgrade_config.inc
+++ b/etc/inc/upgrade_config.inc
@@ -1558,7 +1558,7 @@ function upgrade_051_to_052() {
$server['dh_length'] = 1024;
unset($server['dh_params']);
if (!$server['interface'])
- $server['interface'] = 'wan';
+ $server['interface'] = 'any';
$server['tunnel_network'] = $server['addresspool'];
unset($server['addresspool']);
if (isset($server['use_lzo'])) {
OpenPOWER on IntegriCloud