aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/files/lib/network/config.sh
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2007-10-18 13:20:02 +0000
committerFlorian Fainelli <florian@openwrt.org>2007-10-18 13:20:02 +0000
commiteffcc21eb7ab86371a4bb84732cc3cf9fb7f926a (patch)
tree5ed47445bb121ea83f735fd184fa1919b3531bb4 /package/base-files/files/lib/network/config.sh
parent0e7230313012b916720fad66e114cea204621424 (diff)
downloadupstream-effcc21eb7ab86371a4bb84732cc3cf9fb7f926a.tar.gz
upstream-effcc21eb7ab86371a4bb84732cc3cf9fb7f926a.tar.bz2
upstream-effcc21eb7ab86371a4bb84732cc3cf9fb7f926a.zip
Turn off stp by default, thanks ejka
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9345 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/base-files/files/lib/network/config.sh')
-rwxr-xr-xpackage/base-files/files/lib/network/config.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/base-files/files/lib/network/config.sh b/package/base-files/files/lib/network/config.sh
index e750c8a415..f07d92623f 100755
--- a/package/base-files/files/lib/network/config.sh
+++ b/package/base-files/files/lib/network/config.sh
@@ -100,7 +100,7 @@ prepare_interface() {
$DEBUG brctl setfd "br-$config" 0
$DEBUG ifconfig "br-$config" up
$DEBUG brctl addif "br-$config" "$iface"
- $DEBUG brctl stp "br-$config" ${stp:-on}
+ $DEBUG brctl stp "br-$config" ${stp:-off}
# Creating the bridge here will have triggered a hotplug event, which will
# result in another setup_interface() call, so we simply stop processing
# the current event at this point.