Revision bf17eb72
Added by Ermal LUÇI about 14 years ago
etc/inc/interfaces.inc | ||
---|---|---|
2734 | 2734 |
if (!empty($gif)) |
2735 | 2735 |
array_walk($gif, 'interface_gif_configure'); |
2736 | 2736 |
|
2737 |
if ($linkupevent == false) { |
|
2737 |
if ($linkupevent == false || substr($realif, 0, 4) == "ovpn") {
|
|
2738 | 2738 |
unset($bridgetmp); |
2739 | 2739 |
$bridgetmp = link_interface_to_bridge($interface); |
2740 | 2740 |
if (!empty($bridgetmp)) |
Also available in: Unified diff
Fixes #1666. For OpenVPN interfaces always check if part of bridge or not.