diff options
| author | Jesse Gross <jesse@nicira.com> | 2009-10-19 18:40:11 -0700 |
|---|---|---|
| committer | Jesse Gross <jesse@nicira.com> | 2009-10-19 18:40:11 -0700 |
| commit | adea354e28134f08008732062ef0c613954dc7e4 (patch) | |
| tree | 1d2a42601a5e92a7edada99976e71fbdfd55c42a | |
| parent | 1125a1b9dc3ffe95bddafa7f85a95d0e337c01ca (diff) | |
| download | openvswitch-adea354e28134f08008732062ef0c613954dc7e4.tar.gz | |
xen: Correctly write VLAN key in config file.
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
| -rwxr-xr-x | 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 dc9cb7b77..2fcf9d402 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" |
