summaryrefslogtreecommitdiffstats
path: root/root
diff options
context:
space:
mode:
authormbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>2004-07-12 06:19:28 +0000
committermbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>2004-07-12 06:19:28 +0000
commit2a608defa991e847d06a0b869e00c620f0166ece (patch)
tree72a75d69c5b3f265ea0ce80f3dd891c79ad49c5c /root
parent5ace15f6cc957421ba66ca34f62521ca74b09cfd (diff)
Disable spanning tree by default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@92 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'root')
-rwxr-xr-xroot/etc/functions.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/root/etc/functions.sh b/root/etc/functions.sh
index 8c371a332..155e30be3 100755
--- a/root/etc/functions.sh
+++ b/root/etc/functions.sh
@@ -48,7 +48,7 @@ ifup () (
$DEBUG brctl delbr $if
$DEBUG brctl addbr $if
$DEBUG brctl setfd $if 0
- $DEBUG brctl stp $if $stp
+ $DEBUG brctl stp $if ${stp:-0}
if_list=$(nvram_get ${type}_ifnames)
for sif in $if_list; do {
if_valid $sif || continue