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 almost 15 years ago. Updated over 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

Also available in: Atom PDF