Revision 0e1a94e7
Added by Ermal Luçi about 17 years ago
etc/inc/interfaces.inc | ||
---|---|---|
449 | 449 |
|
450 | 450 |
/* bridged? */ |
451 | 451 |
|
452 |
if ($lancfg['bridge']) { |
|
452 |
if ($lancfg['bridge'] && $lancfg['bridge'] <> "") {
|
|
453 | 453 |
/* use open/netBSD style bridge */ |
454 | 454 |
mwexec("/sbin/ifconfig bridge{$bridges_total} create"); |
455 | 455 |
|
... | ... | |
1221 | 1221 |
filter_configure(); |
1222 | 1222 |
} |
1223 | 1223 |
|
1224 |
if ($wancfg['bridge']) { |
|
1224 |
if ($wancfg['bridge'] && $wancfg['bridge'] <> "") {
|
|
1225 | 1225 |
/* use open/netBSD style bridge */ |
1226 | 1226 |
mwexec("/sbin/ifconfig bridge{$bridges_total} create"); |
1227 | 1227 |
|
Also available in: Unified diff
Try to do some more validation at old bridge creation till things settle for the other parts.