fcoe-utils/fcoe-utils-1.0.17-no-vconfig.patch
Petr Sabata 9a79b1c7b8 1.0.18+ bump
BuildRoot and ExcludeArch cleanup
2011-04-20 11:03:37 +02:00

15 lines
496 B
Diff

--- fcoe-utils-1.0.17/contrib/fcoe-setup.sh 2011-01-15 01:28:10.000000000 +0100
+++ fcoe-utils-1.0.17/contrib/fcoe-setup.sh.new 2011-02-04 12:52:13.873482656 +0100
@@ -24,9 +24,8 @@
vif=$(scan_vlan $ifname $vlan)
if [ -z "$vif" ] ; then
- vconfig set_name_type DEV_PLUS_VID_NO_PAD
- vconfig add $ifname $vlan > /dev/null
- vif="$ifname.$vlan"
+ vif="$ifname.$vlan"
+ ip link add dev $vif link $ifname type vlan id $vlan
fi
ip link set $vif up
echo "$vif"