Correctly probe for amount of bridged interfaces present in system

This commit is contained in:
Scott Ullrich 2006-04-08 03:04:49 +00:00
parent 0e16b9cacd
commit 7b076812bb

View File

@ -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`;
}
/*