diff options
author | Josh Blum <josh@joshknows.com> | 2010-02-25 12:48:51 -0800 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-02-25 12:48:51 -0800 |
commit | 3571f65a1184dd65be39bc19708cc316fd017497 (patch) | |
tree | cc9c0f7600c6f72807ab12f0ed6307d079af29a6 /host/lib/usrp | |
parent | c12d6d0f5f2bbfd749b5a18b167ed7a485cd03a1 (diff) | |
download | uhd-3571f65a1184dd65be39bc19708cc316fd017497.tar.gz uhd-3571f65a1184dd65be39bc19708cc316fd017497.tar.bz2 uhd-3571f65a1184dd65be39bc19708cc316fd017497.zip |
use a single addr param for the usrp2
Diffstat (limited to 'host/lib/usrp')
-rw-r--r-- | host/lib/usrp/usrp2/usrp2_impl.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/host/lib/usrp/usrp2/usrp2_impl.cpp b/host/lib/usrp/usrp2/usrp2_impl.cpp index 11e2f480b..770fa3e53 100644 --- a/host/lib/usrp/usrp2/usrp2_impl.cpp +++ b/host/lib/usrp/usrp2/usrp2_impl.cpp @@ -60,8 +60,8 @@ uhd::device_addrs_t usrp2::discover(const device_addr_t &hint){ //make a boost asio ipv4 with the raw addr in host byte order boost::asio::ip::address_v4 ip_addr(ntohl(ctrl_data_in.data.ip_addr)); device_addr_t new_addr; - new_addr["name"] = "USRP2"; - new_addr["type"] = "udp"; + new_addr["name"] = "usrp2"; + new_addr["transport"] = "udp"; new_addr["addr"] = ip_addr.to_string(); usrp2_addrs.push_back(new_addr); break; |