mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Correctly probe for amount of bridged interfaces present in system
This commit is contained in:
parent
0e16b9cacd
commit
7b076812bb
@ -657,7 +657,7 @@ function setup_filter_bridge() {
|
||||
* find_number_of_created_bridges(): returns the number of currently created bridges
|
||||
*/
|
||||
function find_number_of_created_bridges() {
|
||||
return `/sbin/ifconfig | grep \"bridge[0-999]\:" | wc -l`;
|
||||
return `/sbin/ifconfig | grep "bridge[0-999]" | wc -l`;
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Loading…
Reference in New Issue
Block a user