diff options
author | Renato Botelho <garga@FreeBSD.org> | 2013-10-11 09:19:56 -0300 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2013-10-11 09:19:56 -0300 |
commit | 2d72659aec4d153ec6401ccae2a90153e45accc6 (patch) | |
tree | 0fc0b6fa719c75ffc063020d93d08ca534e15c0c /etc/inc/upgrade_config.inc | |
parent | 0f0f7b2cbed88c922b08d5bbada031b69df09e17 (diff) | |
download | pfsense-2d72659aec4d153ec6401ccae2a90153e45accc6.zip pfsense-2d72659aec4d153ec6401ccae2a90153e45accc6.tar.gz |
Set default value to radius_protocol during upgrade, it should fix #3226
Diffstat (limited to 'etc/inc/upgrade_config.inc')
-rw-r--r-- | etc/inc/upgrade_config.inc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/inc/upgrade_config.inc b/etc/inc/upgrade_config.inc index ef508d8..3180524 100644 --- a/etc/inc/upgrade_config.inc +++ b/etc/inc/upgrade_config.inc @@ -2818,6 +2818,8 @@ function upgrade_082_to_083() { $config['captiveportal']['cpzone'] = array(); $config['captiveportal']['cpzone'] = $tmpcp; $config['captiveportal']['cpzone']['zoneid'] = 8000; + if ($config['captiveportal']['cpzone']['auth_method'] == "radius") + $config['captiveportal']['cpzone']['radius_protocol'] = "PAP"; } if (!empty($config['voucher'])) { $tmpcp = $config['voucher']; |