diff options
| author | Aaron Rossetto <aaron.rossetto@ni.com> | 2019-10-22 10:53:31 -0500 | 
|---|---|---|
| committer | Martin Braun <martin.braun@ettus.com> | 2019-11-26 12:21:32 -0800 | 
| commit | 2da39536bb886f3f80858f531f86b95988e84bb3 (patch) | |
| tree | 0bdc7f71678af90b4b063d3b2cc4fbb86b8f0f80 /mpm/python | |
| parent | 72b45bb8def087f2eff09ed671de788978853e2a (diff) | |
| download | uhd-2da39536bb886f3f80858f531f86b95988e84bb3.tar.gz uhd-2da39536bb886f3f80858f531f86b95988e84bb3.tar.bz2 uhd-2da39536bb886f3f80858f531f86b95988e84bb3.zip | |
mpm: Fix calculation of link_rate for UDP xports
Diffstat (limited to 'mpm/python')
| -rw-r--r-- | mpm/python/usrp_mpm/xports/xportmgr_udp.py | 2 | 
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)          ] | 
