projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1125a1b
)
xen: Correctly write VLAN key in config file.
author
Jesse Gross
<jesse@nicira.com>
Tue, 20 Oct 2009 01:40:11 +0000
(18:40 -0700)
committer
Jesse Gross
<jesse@nicira.com>
Tue, 20 Oct 2009 01:40:11 +0000
(18:40 -0700)
When adding the VLAN key the name of the vif was from a variable in
use on only the xs5.7 branch. This uses the correct variable name
for the master branch
xenserver/etc_xensource_scripts_vif
patch
|
blob
|
history
diff --git
a/xenserver/etc_xensource_scripts_vif
b/xenserver/etc_xensource_scripts_vif
index dc9cb7b77aeabccdf2257163099f98f42a202c9a..2fcf9d402b65a4ab2feaa62442b32a3e83cd3ed5 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)
- 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"