Commit 5fdc31a3 authored by Mike Hibler's avatar Mike Hibler
Browse files

Remove the hardwired configuration of physical interfaces used for linkdelays.

I believe this is left over from a bygone era and should not be needed
(in addition to being wrong, since it always sets the link to 100Mb).
rc.ifconfig (via the generated rc.ifc) will properly configure physical
interfaces that underly multiplexed links.

Note also that the Linux version of the delaysetup script never did this.
parent 3eb0ae31
......@@ -859,14 +859,15 @@ sub LinkDelaySetup
$redparams .= "$weight/$minthresh/$maxthresh/$max_p";
}
#
# XXX don't try to set the speed/duplex of virtual devices
# XXX we should not be hardwiring the speed/duplex here anyway
#
if ($iface !~ /^(vlan|veth)/) {
$upcmds .= "ifconfig $iface media 100baseTX ".
"mediaopt full-duplex\n ";
}
# rc.ifconfig (through the generated rc.ifc) does this
##
## XXX don't try to set the speed/duplex of virtual devices
## XXX we should not be hardwiring the speed/duplex here anyway
##
#if ($iface !~ /^(vlan|veth)/) {
# $upcmds .= "ifconfig $iface media 100baseTX ".
# "mediaopt full-duplex\n ";
#}
$upcmds .= "ipfw add $pipeno pipe $pipeno ip from any to ".
"any out xmit $iface\n ";
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment