summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/usr/local/www/interfaces_groups_edit.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usr/local/www/interfaces_groups_edit.php b/src/usr/local/www/interfaces_groups_edit.php
index 73f63d6..7e96836 100644
--- a/src/usr/local/www/interfaces_groups_edit.php
+++ b/src/usr/local/www/interfaces_groups_edit.php
@@ -71,7 +71,7 @@ if ($_POST) {
$input_errors[] = gettext("Only letters A-Z are allowed as the group name.");
}
- foreach ($interface_list as $gif => $gdescr) {
+ foreach ($interface_list_disabled as $gif => $gdescr) {
if ($gdescr == $_POST['ifname'] || $gif == $_POST['ifname']) {
$input_errors[] = "The specified group name is already used by an interface. Please choose another name.";
}
OpenPOWER on IntegriCloud