diff options
author | Chris Buechler <cmb@pfsense.org> | 2015-04-08 23:42:31 -0500 |
---|---|---|
committer | Chris Buechler <cmb@pfsense.org> | 2015-04-08 23:43:28 -0500 |
commit | 3a29236006408fc18c31667c95286d143bccaed3 (patch) | |
tree | 246eb331ca3878a10d7d21cd747ca39d22dcd432 /usr/local | |
parent | b48f658083b97490e85afa418eefd139834fd9d2 (diff) | |
download | pfsense-3a29236006408fc18c31667c95286d143bccaed3.zip pfsense-3a29236006408fc18c31667c95286d143bccaed3.tar.gz |
Allow single interface bridges. Useful with span port option, and when shuffling configuration around.
Diffstat (limited to 'usr/local')
-rw-r--r-- | usr/local/www/interfaces_bridge_edit.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/interfaces_bridge_edit.php b/usr/local/www/interfaces_bridge_edit.php index 6fc1d71..1a1813c 100644 --- a/usr/local/www/interfaces_bridge_edit.php +++ b/usr/local/www/interfaces_bridge_edit.php @@ -149,8 +149,8 @@ if ($_POST) { $i++; } - if (!is_array($_POST['members']) || count($_POST['members']) < 2) - $input_errors[] = gettext("You must select at least 2 member interfaces for a bridge."); + if (!is_array($_POST['members']) || count($_POST['members']) < 1) + $input_errors[] = gettext("You must select at least one member interface for a bridge."); if (is_array($_POST['members'])) { foreach($_POST['members'] as $ifmembers) { |