summaryrefslogtreecommitdiffstats
path: root/etc/inc
diff options
context:
space:
mode:
Diffstat (limited to 'etc/inc')
-rw-r--r--etc/inc/interfaces.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc
index 603d06f..b819f1d 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -449,7 +449,7 @@ function interfaces_lan_configure() {
/* bridged? */
- if ($lancfg['bridge']) {
+ if ($lancfg['bridge'] && $lancfg['bridge'] <> "") {
/* use open/netBSD style bridge */
mwexec("/sbin/ifconfig bridge{$bridges_total} create");
@@ -1221,7 +1221,7 @@ function interfaces_wan_configure($interface = "wan") {
filter_configure();
}
- if ($wancfg['bridge']) {
+ if ($wancfg['bridge'] && $wancfg['bridge'] <> "") {
/* use open/netBSD style bridge */
mwexec("/sbin/ifconfig bridge{$bridges_total} create");
OpenPOWER on IntegriCloud