Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -283,7 +283,7 @@ public class OpenFlowDeviceProvider extends AbstractProvider implements DevicePr | ... | @@ -283,7 +283,7 @@ public class OpenFlowDeviceProvider extends AbstractProvider implements DevicePr |
283 | for (OFPortFeatures feat : port.getCurr()) { | 283 | for (OFPortFeatures feat : port.getCurr()) { |
284 | portSpeed = PortSpeed.max(portSpeed, feat.getPortSpeed()); | 284 | portSpeed = PortSpeed.max(portSpeed, feat.getPortSpeed()); |
285 | } | 285 | } |
286 | - return portSpeed.getSpeedBps(); | 286 | + return portSpeed.getSpeedBps() / MBPS; |
287 | } | 287 | } |
288 | } | 288 | } |
289 | 289 | ... | ... |
-
Please register or login to post a comment