diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-10-11 22:57:27 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-10-11 22:57:27 +0000 |
commit | bf276410e86dc4f81d00f00ee33408980e3b1929 (patch) | |
tree | d44e0c0a5fc8303f1860be43edd1c7bf1af5054c /etc/inc | |
parent | 4cbeed35ee3b3001239e9a033bacffd90ccd909a (diff) | |
download | pfsense-bf276410e86dc4f81d00f00ee33408980e3b1929.zip pfsense-bf276410e86dc4f81d00f00ee33408980e3b1929.tar.gz |
Return a numerical value instead of "bridge{$x}"
Diffstat (limited to 'etc/inc')
-rw-r--r-- | etc/inc/interfaces.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc index 29de81e..693b20e 100644 --- a/etc/inc/interfaces.inc +++ b/etc/inc/interfaces.inc @@ -1307,7 +1307,7 @@ function discover_bridge($interface1, $interface2) { $bridge_text = `/sbin/ifconfig bridge{$x} | grep member`; if(stristr($bridge_text, $interface1) == true and stristr($bridge_text, $interface2) == true) { - return "bridge{$x}"; + return $x; } } return false; |