summaryrefslogtreecommitdiffstats
path: root/etc/inc/interfaces.inc
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2011-07-11 12:41:24 +0000
committerErmal <eri@pfsense.org>2011-07-11 12:41:24 +0000
commitbf17eb72c18ee9b751f9e3eb22a082fd9c273ac9 (patch)
treef4be54b078c0cd7cdff59d47a0d5d140a304da27 /etc/inc/interfaces.inc
parent45d1024db3d3d32fb26f2b6c42460cbe98e24096 (diff)
downloadpfsense-bf17eb72c18ee9b751f9e3eb22a082fd9c273ac9.zip
pfsense-bf17eb72c18ee9b751f9e3eb22a082fd9c273ac9.tar.gz
Fixes #1666. For OpenVPN interfaces always check if part of bridge or not.
Diffstat (limited to 'etc/inc/interfaces.inc')
-rw-r--r--etc/inc/interfaces.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc
index 5abea03..278758d 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -2734,7 +2734,7 @@ function interface_configure($interface = "wan", $reloadall = false, $linkupeven
if (!empty($gif))
array_walk($gif, 'interface_gif_configure');
- if ($linkupevent == false) {
+ if ($linkupevent == false || substr($realif, 0, 4) == "ovpn") {
unset($bridgetmp);
$bridgetmp = link_interface_to_bridge($interface);
if (!empty($bridgetmp))
OpenPOWER on IntegriCloud