summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/interfaces_groups_edit.php
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2016-12-12 16:24:06 -0200
committerRenato Botelho <renato@netgate.com>2016-12-12 16:44:18 -0200
commite4830f024bc06c4fad9a545c3ead724b82a6b803 (patch)
tree517014b0e3114ab90d5365174201e7f43749438f /src/usr/local/www/interfaces_groups_edit.php
parent93ab5b34e4e0b20baaf10fdd52119dd97d29ddad (diff)
downloadpfsense-e4830f024bc06c4fad9a545c3ead724b82a6b803.zip
pfsense-e4830f024bc06c4fad9a545c3ead724b82a6b803.tar.gz
Ticket #6976: Check disabled interfaces
Diffstat (limited to 'src/usr/local/www/interfaces_groups_edit.php')
-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 2adfa35..0411ecd 100644
--- a/src/usr/local/www/interfaces_groups_edit.php
+++ b/src/usr/local/www/interfaces_groups_edit.php
@@ -103,7 +103,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