summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2013-01-27 04:36:57 -0800
committerErmal Luçi <eri@pfsense.org>2013-01-27 04:36:57 -0800
commit9d33c8571fdbc757fb1eb54f5743e6fcee31edb3 (patch)
treee316df65feaf5c32f1e3c8e7bd7f1f794e1f45e8
parent2626cbd113c19b0bb53408296e63dac7cbd4908e (diff)
parent792bdf7f9bb0c728e7bde5117ec27dd00b052bc3 (diff)
downloadpfsense-9d33c8571fdbc757fb1eb54f5743e6fcee31edb3.zip
pfsense-9d33c8571fdbc757fb1eb54f5743e6fcee31edb3.tar.gz
Merge pull request #349 from bcyrill/bridge_patch2
Use unescaped variable in if condition
-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 9c2be51..aa1e4ab 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -630,7 +630,7 @@ function interface_bridge_configure(&$bridge, $checkmember = 0) {
}
}
- if ($bridgeif)
+ if ($bridge['bridgeif'])
interfaces_bring_up($bridge['bridgeif']);
else
log_error(gettext("bridgeif not defined -- could not bring interface up"));
OpenPOWER on IntegriCloud