Turn off stp by default, thanks ejka
[openwrt/openwrt.git] / package / base-files / files / lib / network / config.sh
index e750c8a415e559deedbe12d42d0ad264eaa3a062..f07d92623f2972125371e6b1ff4b81679f879b9f 100755 (executable)
@@ -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.