diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2006-04-08 03:04:49 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2006-04-08 03:04:49 +0000 |
commit | 7b076812bb835bb652f2abfbe24fad78cd33e5e4 (patch) | |
tree | 260ba8c64e57b76cadc575b1b6224980f4046b13 /etc/inc | |
parent | 0e16b9cacd0ca9149906de37a17be1bbeeaa6818 (diff) | |
download | pfsense-7b076812bb835bb652f2abfbe24fad78cd33e5e4.zip pfsense-7b076812bb835bb652f2abfbe24fad78cd33e5e4.tar.gz |
Correctly probe for amount of bridged interfaces present in system
Diffstat (limited to 'etc/inc')
-rw-r--r-- | etc/inc/pfsense-utils.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc index b022a01..1c6f27a 100644 --- a/etc/inc/pfsense-utils.inc +++ b/etc/inc/pfsense-utils.inc @@ -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`; } /* |