aboutsummaryrefslogtreecommitdiffstats
path: root/mpm
diff options
context:
space:
mode:
authorAaron Rossetto <aaron.rossetto@ni.com>2019-10-22 10:53:31 -0500
committerMartin Braun <martin.braun@ettus.com>2019-11-26 12:21:32 -0800
commit2da39536bb886f3f80858f531f86b95988e84bb3 (patch)
tree0bdc7f71678af90b4b063d3b2cc4fbb86b8f0f80 /mpm
parent72b45bb8def087f2eff09ed671de788978853e2a (diff)
downloaduhd-2da39536bb886f3f80858f531f86b95988e84bb3.tar.gz
uhd-2da39536bb886f3f80858f531f86b95988e84bb3.tar.bz2
uhd-2da39536bb886f3f80858f531f86b95988e84bb3.zip
mpm: Fix calculation of link_rate for UDP xports
Diffstat (limited to 'mpm')
-rw-r--r--mpm/python/usrp_mpm/xports/xportmgr_udp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mpm/python/usrp_mpm/xports/xportmgr_udp.py b/mpm/python/usrp_mpm/xports/xportmgr_udp.py
index 761db4a08..d6f8a47a7 100644
--- a/mpm/python/usrp_mpm/xports/xportmgr_udp.py
+++ b/mpm/python/usrp_mpm/xports/xportmgr_udp.py
@@ -183,7 +183,7 @@ class XportMgrUDP(object):
{
'ipv4': str(iface_info['ip_addr']),
'port': str(self.chdr_port),
- 'link_rate': str(int(iface_info['link_speed'] * 1e9 / 8))
+ 'link_rate': str(int(iface_info['link_speed'] * 1e6 / 8))
}
for iface_name, iface_info in iteritems(self._chdr_ifaces)
]