summaryrefslogtreecommitdiff
path: root/root
diff options
context:
space:
mode:
authorMike Baker <mbm@openwrt.org>2004-07-12 06:19:28 +0000
committerMike Baker <mbm@openwrt.org>2004-07-12 06:19:28 +0000
commit3fdf2ad9b6e232509ad28b857b98d06251283925 (patch)
tree72a75d69c5b3f265ea0ce80f3dd891c79ad49c5c /root
parent04749f2c21ed58e10da1a58120e0104781207635 (diff)
downloadmtk-20170518-3fdf2ad9b6e232509ad28b857b98d06251283925.zip
mtk-20170518-3fdf2ad9b6e232509ad28b857b98d06251283925.tar.gz
mtk-20170518-3fdf2ad9b6e232509ad28b857b98d06251283925.tar.bz2
Disable spanning tree by default
SVN-Revision: 92
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 8c371a3..155e30b 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