Project

General

Profile

Bug #366

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

Added by Erik Fonnesbeck over 9 years ago. Updated over 9 years ago.

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

0%

Estimated time:
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.

Associated revisions

Revision c059940b (diff)
Added by Erik Fonnesbeck over 9 years ago

Ticket #366. Fix scope problem in inuse functions on some of the interfaces.php pages.

History

#1 Updated by Ermal Lu├ži over 9 years ago

  • Status changed from New to Feedback

Committed.

#2 Updated by Erik Fonnesbeck over 9 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.

#3 Updated by Chris Buechler over 9 years ago

  • Status changed from Feedback to Resolved

fixed

Also available in: Atom PDF