diff options
author | Chris Buechler <cmb@pfsense.org> | 2009-01-04 21:27:32 +0000 |
---|---|---|
committer | Chris Buechler <cmb@pfsense.org> | 2009-01-04 21:27:32 +0000 |
commit | f311ff616806613078396a974b3b2f3d35b2883d (patch) | |
tree | 8606669de98336db78c4102bbdc0e3d5c7fc8e4d /etc/inc/interfaces.inc | |
parent | 638adc34cc2e97aa806c30127932a66ef622254f (diff) | |
download | pfsense-f311ff616806613078396a974b3b2f3d35b2883d.zip pfsense-f311ff616806613078396a974b3b2f3d35b2883d.tar.gz |
remove unused function
Diffstat (limited to 'etc/inc/interfaces.inc')
-rw-r--r-- | etc/inc/interfaces.inc | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc index 5e6df51..152bb8c 100644 --- a/etc/inc/interfaces.inc +++ b/etc/inc/interfaces.inc @@ -1547,18 +1547,6 @@ function get_number_of_bridged_interfaces() { return "{$bridges_total}"; } -function get_next_available_bridge_interface() { - $bridges_total = get_number_of_bridged_interfaces(); - $interfaces = `/sbin/ifconfig -l`; - $x=0; - for($x=0; $x<$bridges_total; $x++) { - if(!stristr($interfaces, "bridge{$x}")) { - return "{$x}"; - } - } - return "{$x}"; -} - function destroy_bridge($bridge_num) { mwexec("/sbin/ifconfig bridge{$bridge_num} down"); sleep(1); |