mirror of
https://github.com/netbirdio/FreeBSD-ports.git
synced 2026-05-22 18:42:42 -07:00
net/pfSense-pkg-mDNS-Bridge: don't count null variable. Fix #16627
This commit is contained in:
@@ -71,6 +71,7 @@ if ($_POST) {
|
||||
}
|
||||
|
||||
// Validate interfaces
|
||||
$pconfig['active_interfaces'] = array_get_path($pconfig, 'active_interfaces', []);
|
||||
if (count($pconfig['active_interfaces']) < 2) {
|
||||
$input_errors[] = gettext('A minimum of two interfaces are required');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user