Merge pull request #3555 from doktornotor/patch-2

This commit is contained in:
jim-p 2017-04-03 15:43:58 -04:00
commit c30cb0ce05

View File

@ -286,6 +286,13 @@ if ($_POST['save']) {
}
}
// https://redmine.pfsense.org/issues/4154
if ($pconfig['type'] == "radius") {
if (is_ipaddrv6($_POST['radius_host'])) {
$input_errors[] = gettext("IPv6 does not work for RADIUS authentication, see Bug #4154.");
}
}
if (!$input_errors) {
$server = array();
$server['refid'] = uniqid();