summaryrefslogtreecommitdiffstats
path: root/etc/inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-04-08 03:04:49 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-04-08 03:04:49 +0000
commit7b076812bb835bb652f2abfbe24fad78cd33e5e4 (patch)
tree260ba8c64e57b76cadc575b1b6224980f4046b13 /etc/inc
parent0e16b9cacd0ca9149906de37a17be1bbeeaa6818 (diff)
downloadpfsense-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.inc2
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`;
}
/*
OpenPOWER on IntegriCloud