Commit fb7cc2a6 authored by Leigh Stoller's avatar Leigh Stoller

Oops, portbw is in kbps not mbps.

parent 8164d2b3
......@@ -8180,8 +8180,8 @@ sub AddBridge($$$$)
$self->interfacespeedmbps(physinterfacetype($pnode, $iface1),
"ethernet");
$self->portbw()->{$member0} = $speed0;
$self->portbw()->{$member1} = $speed1;
$self->portbw()->{$member0} = $speed0 * 1000;
$self->portbw()->{$member1} = $speed1 * 1000;
$self->printdb(" Setting port speeds on $pnodename: ".
"$iface0:$speed0 $iface1:$speed1\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