summaryrefslogtreecommitdiffstats
path: root/etc/inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-10-09 21:41:44 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-10-09 21:41:44 +0000
commita3484b5c89c32c57796f029c1a6f3870eff3234b (patch)
tree197d7f33cf834ccfae52fafad67bf6c40e7910f7 /etc/inc
parent38a3e74e93f1f52850fd1a00ba7b9d7da600d0f7 (diff)
downloadpfsense-a3484b5c89c32c57796f029c1a6f3870eff3234b.zip
pfsense-a3484b5c89c32c57796f029c1a6f3870eff3234b.tar.gz
Correctly define () brackets
Diffstat (limited to 'etc/inc')
-rw-r--r--etc/inc/interfaces.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc
index 8064150..339d870 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -1303,8 +1303,8 @@ function discover_bridge($interface1, $interface2) {
$total_bridges = get_number_of_bridged_interfaces();
for($x=0; $x<$total_bridges; $x++) {
$bridge_text = `/sbin/ifconfig bridge{$x} | grep member`;
- if(stristr($bridge_text, $interface1) == true) and
- stristr($bridge_text, $interface2) == true)) {
+ if(stristr($bridge_text, $interface1) == true and
+ stristr($bridge_text, $interface2) == true) {
return "bridge{$x}";
}
}
OpenPOWER on IntegriCloud