mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-13 08:09:41 +00:00
interfaces: typo in validation, failed to communicate unassignable targets. closes https://github.com/opnsense/core/issues/4050
This commit is contained in:
parent
3b3577f1f5
commit
8bfd62c876
@ -681,9 +681,9 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') {
|
||||
if ($pconfig['type'] != 'none' || $pconfig['type6'] != 'none') {
|
||||
foreach (plugins_devices() as $device) {
|
||||
if (!isset($device['configurable']) || $device['configurable'] == true) {
|
||||
continue;
|
||||
continue;
|
||||
}
|
||||
if (preg_match('/' . $device['pattern'] . '/', $ifport)) {
|
||||
if (preg_match('/' . $device['pattern'] . '/', $pconfig['if'])) {
|
||||
$input_errors[] = gettext('Cannot assign an IP configuration type to a tunnel interface.');
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user