From 2da39536bb886f3f80858f531f86b95988e84bb3 Mon Sep 17 00:00:00 2001 From: Aaron Rossetto Date: Tue, 22 Oct 2019 10:53:31 -0500 Subject: mpm: Fix calculation of link_rate for UDP xports --- mpm/python/usrp_mpm/xports/xportmgr_udp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mpm/python') 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) ] -- cgit v1.2.3