summaryrefslogtreecommitdiffstats
path: root/etc/inc/interfaces.inc
diff options
context:
space:
mode:
Diffstat (limited to 'etc/inc/interfaces.inc')
-rw-r--r--etc/inc/interfaces.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc
index e77a067..75ade17 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -1283,7 +1283,7 @@ function is_altq_capable($int) {
function get_number_of_bridged_interfaces() {
$bridges = array();
- $bridges = `/sbin/ifconfig -a | /usr/bin/grep bridge | wc -l`;
+ $bridges = trim(`/sbin/ifconfig -a | /usr/bin/grep bridge | wc -l`);
return $bridges;
}
OpenPOWER on IntegriCloud