[ovs-dev] [PATCH] xen: Correctly write VLAN key in config file.

Jesse Gross jesse at nicira.com
Tue Oct 20 04:10:00 UTC 2009


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 |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/xenserver/etc_xensource_scripts_vif b/xenserver/etc_xensource_scripts_vif
index dc9cb7b..2fcf9d4 100755
--- 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"
-- 
1.6.0.4





More information about the dev mailing list