git://git.onelab.eu
/
sliver-openvswitch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
xen: Correctly write VLAN key in config file.
[sliver-openvswitch.git]
/
xenserver
/
etc_xensource_scripts_vif
diff --git
a/xenserver/etc_xensource_scripts_vif
b/xenserver/etc_xensource_scripts_vif
index
dc9cb7b
..
2fcf9d4
100755
(executable)
--- a/
xenserver/etc_xensource_scripts_vif
+++ b/
xenserver/etc_xensource_scripts_vif
@@
-75,7
+75,7
@@
add_to_bridge()
local vid=
if [ "$VLAN_ID" -ne 0 ] ; then
bridge=$($vsctl br-to-parent $bridge)
local vid=
if [ "$VLAN_ID" -ne 0 ] ; then
bridge=$($vsctl br-to-parent $bridge)
- vid="--add=vlan.${
dev
}.tag=${VLAN_ID}"
+ vid="--add=vlan.${
vif
}.tag=${VLAN_ID}"
fi
${IP} link set "${vif}" down || logger -t scripts-vif "Failed to ip link set ${vif} down"
fi
${IP} link set "${vif}" down || logger -t scripts-vif "Failed to ip link set ${vif} down"