summaryrefslogtreecommitdiffstats
path: root/os-plugins/plugins/qemukvm/init-hooks/20-nw-bridge-config/bridge.sh
diff options
context:
space:
mode:
authorDirk von Suchodoletz2009-04-03 18:12:18 +0200
committerDirk von Suchodoletz2009-04-03 18:12:18 +0200
commit70b81e5ff5ed98c175ed31826e22c423c00d539d (patch)
tree3f9eedc26d50afdd11b40aca469a236d753ce6b0 /os-plugins/plugins/qemukvm/init-hooks/20-nw-bridge-config/bridge.sh
parentBugfix forgot semicolon and to remove copy of menu.c32 (diff)
downloadcore-70b81e5ff5ed98c175ed31826e22c423c00d539d.tar.gz
core-70b81e5ff5ed98c175ed31826e22c423c00d539d.tar.xz
core-70b81e5ff5ed98c175ed31826e22c423c00d539d.zip
Small nasty bug with brtcl stp off/0 ...
git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2798 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'os-plugins/plugins/qemukvm/init-hooks/20-nw-bridge-config/bridge.sh')
-rw-r--r--os-plugins/plugins/qemukvm/init-hooks/20-nw-bridge-config/bridge.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/os-plugins/plugins/qemukvm/init-hooks/20-nw-bridge-config/bridge.sh b/os-plugins/plugins/qemukvm/init-hooks/20-nw-bridge-config/bridge.sh
index c0b8bd31..6aabe8ad 100644
--- a/os-plugins/plugins/qemukvm/init-hooks/20-nw-bridge-config/bridge.sh
+++ b/os-plugins/plugins/qemukvm/init-hooks/20-nw-bridge-config/bridge.sh
@@ -10,7 +10,7 @@
# General information about OpenSLX can be found at http://openslx.org
#
# Init hook to create a bridge on the active network interface
-# (should be kept identical to the files of vmware and virtualbox plugins)
+# (should be kept identical to the files of virtualbox and qemukvm plugins)
#############################################################################
local bridge=br0
@@ -19,7 +19,7 @@ local nwifmac=${macaddr}
# bridge 0 already defined or some other problem
brctl addbr ${bridge} || exit 0
-brctl stp ${bridge} off
+brctl stp ${bridge} 0
brctl setfd ${bridge} 0.000000000001
ip link set addr ${nwifmac} ${bridge}
ip link set dev ${nwif} up