Commit 37076ca9 authored by Franco Fichtner's avatar Franco Fichtner

interfaces: allow bridges with one interface for #61

(cherry picked from commit 571bdae6)
parent 1887fd78
......@@ -139,10 +139,6 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') {
}
}
if (!is_array($pconfig['members']) || count($_POST['members']) < 2) {
$input_errors[] = gettext("You must select at least 2 member interfaces for a bridge.");
}
if (is_array($pconfig['members'])) {
foreach($pconfig['members'] as $ifmembers) {
if (empty($config['interfaces'][$ifmembers])) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment