Project

General

Profile

Actions

Bug #366

closed

The check in interfaces_bridge.php to prevent deleting an assigned bridge does not work.

Added by Erik Fonnesbeck about 14 years ago. Updated about 14 years ago.

Status:
Resolved
Priority:
Low
Assignee:
-
Category:
Interfaces
Target version:
Start date:
02/20/2010
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.0
Affected Architecture:

Description

In the bridge_inuse function, $a_bridges seems to be out of scope, so it is not accessible when the function attempts to compare against a value in it, thus the comparison always fails. This patch modifies it to accept the name of the interface directly, so it does not try to use an external variable. The call to the function has been adjusted accordingly.


Files

Actions #1

Updated by Ermal Luçi about 14 years ago

  • Status changed from New to Feedback

Committed.

Actions #2

Updated by Erik Fonnesbeck about 14 years ago

This set of patches reverts the style of the function to the previous style and then fixes the scope problem on that instead. It also fixes the same issue on four of the other pages.

Actions #3

Updated by Chris Buechler about 14 years ago

  • Status changed from Feedback to Resolved

fixed

Actions

Also available in: Atom PDF