diff options
-rw-r--r-- | etc/inc/upgrade_config.inc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/etc/inc/upgrade_config.inc b/etc/inc/upgrade_config.inc index 5838cac..3f14248 100644 --- a/etc/inc/upgrade_config.inc +++ b/etc/inc/upgrade_config.inc @@ -3789,6 +3789,10 @@ function upgrade_117_to_118() { function upgrade_118_to_119() { global $config; + if (!isset($config['ipsec']['phase1'])) { + return; + } + // change peerid_type to 'any' for EAP types to retain previous behavior of omitting rightid $a_phase1 =& $config['ipsec']['phase1']; |