diff options
-rw-r--r-- | etc/inc/interfaces.inc | 4 |
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}"; } } |