diff options
author | Steven Koo <steven.koo@ni.com> | 2020-07-25 13:09:53 -0500 |
---|---|---|
committer | Aaron Rossetto <aaron.rossetto@ni.com> | 2020-07-30 11:39:00 -0500 |
commit | 25a0e462ddc8ca737415dbae4feb90787e6a35b2 (patch) | |
tree | 2f4f7c57e57299e02a7e0f94e4ddb6ca1a6be6ee /host/lib/usrp/mpmd/mpmd_link_if_ctrl_udp.hpp | |
parent | 80b79df60380990744f59137d313b1dd1db9ca92 (diff) | |
download | uhd-25a0e462ddc8ca737415dbae4feb90787e6a35b2.tar.gz uhd-25a0e462ddc8ca737415dbae4feb90787e6a35b2.tar.bz2 uhd-25a0e462ddc8ca737415dbae4feb90787e6a35b2.zip |
mpm: Default virtual NIC CHDR IP selection
This change adds detection for setting the correct internal
fpga CHDR IP address when using embedded mode.
Diffstat (limited to 'host/lib/usrp/mpmd/mpmd_link_if_ctrl_udp.hpp')
-rw-r--r-- | host/lib/usrp/mpmd/mpmd_link_if_ctrl_udp.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/host/lib/usrp/mpmd/mpmd_link_if_ctrl_udp.hpp b/host/lib/usrp/mpmd/mpmd_link_if_ctrl_udp.hpp index e4a0d7811..13d28e42b 100644 --- a/host/lib/usrp/mpmd/mpmd_link_if_ctrl_udp.hpp +++ b/host/lib/usrp/mpmd/mpmd_link_if_ctrl_udp.hpp @@ -9,9 +9,9 @@ #include "mpmd_link_if_ctrl_base.hpp" #include "mpmd_link_if_mgr.hpp" +#include <map> #include <uhd/types/device_addr.hpp> #include <uhdlib/rfnoc/rfnoc_common.hpp> -#include <unordered_map> namespace uhd { namespace mpmd { namespace xport { @@ -30,7 +30,7 @@ public: size_t if_mtu; }; - using udp_link_info_map = std::unordered_map<std::string, udp_link_info_t>; + using udp_link_info_map = std::map<std::string, udp_link_info_t>; mpmd_link_if_ctrl_udp(const uhd::device_addr_t& mb_args, const mpmd_link_if_mgr::xport_info_list_t& xport_info, |