14 lines
460 B
Diff
14 lines
460 B
Diff
--- fcoe-utils-1.0.14/contrib/fcoe-setup.sh 2010-05-18 23:50:48.000000000 +0200
|
|
+++ fcoe-utils-1.0.14/contrib/fcoe-setup.sh.new 2010-11-30 17:24:07.839269545 +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"
|
|
+ ip link add dev $vif link $ifname type vlan id $vlan
|
|
fi
|
|
ip link set $vif up
|
|
echo "$vif"
|