aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/mpmd/mpmd_link_if_ctrl_udp.cpp
diff options
context:
space:
mode:
authorAndrew Lynch <andrew.lynch@ni.com>2021-06-04 13:17:38 -0500
committerAaron Rossetto <aaron.rossetto@ni.com>2021-06-08 15:49:57 -0500
commit4f64b54e218232bc190b2aa091698781e5d1d12c (patch)
tree6bb2d36bcf833914b2f94c24f71807ba8243d02c /host/lib/usrp/mpmd/mpmd_link_if_ctrl_udp.cpp
parentca21048bd2f832b20bb36763f76d46b861b697a5 (diff)
downloaduhd-4f64b54e218232bc190b2aa091698781e5d1d12c.tar.gz
uhd-4f64b54e218232bc190b2aa091698781e5d1d12c.tar.bz2
uhd-4f64b54e218232bc190b2aa091698781e5d1d12c.zip
mpmd: support four links
Diffstat (limited to 'host/lib/usrp/mpmd/mpmd_link_if_ctrl_udp.cpp')
-rw-r--r--host/lib/usrp/mpmd/mpmd_link_if_ctrl_udp.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/host/lib/usrp/mpmd/mpmd_link_if_ctrl_udp.cpp b/host/lib/usrp/mpmd/mpmd_link_if_ctrl_udp.cpp
index 6fc36bf72..89f713f1e 100644
--- a/host/lib/usrp/mpmd/mpmd_link_if_ctrl_udp.cpp
+++ b/host/lib/usrp/mpmd/mpmd_link_if_ctrl_udp.cpp
@@ -94,6 +94,12 @@ std::vector<std::string> get_addrs_from_mb_args(const uhd::device_addr_t& mb_arg
if (mb_args.has_key(SECOND_ADDR_KEY)) {
addrs.push_back(mb_args[SECOND_ADDR_KEY]);
}
+ if (mb_args.has_key(THIRD_ADDR_KEY)) {
+ addrs.push_back(mb_args[THIRD_ADDR_KEY]);
+ }
+ if (mb_args.has_key(FOURTH_ADDR_KEY)) {
+ addrs.push_back(mb_args[FOURTH_ADDR_KEY]);
+ }
}
if(addrs.empty()) {
if (!link_info_list.empty()) {