diff options
author | Josh Blum <josh@joshknows.com> | 2010-04-22 18:20:29 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-04-22 18:20:29 -0700 |
commit | 8887da1b1532ad527131c4f661158f751f3cbeaf (patch) | |
tree | 484c8a0f5eff039d8682494b3ee75a706f640bf3 /host/lib/usrp/usrp2/usrp2_impl.cpp | |
parent | 3551ef506737576d15b86b151bce3ae225d36092 (diff) | |
parent | e5248746f66829c0bd899bcde5c15970fdda785d (diff) | |
download | uhd-8887da1b1532ad527131c4f661158f751f3cbeaf.tar.gz uhd-8887da1b1532ad527131c4f661158f751f3cbeaf.tar.bz2 uhd-8887da1b1532ad527131c4f661158f751f3cbeaf.zip |
Merge branch 'master' of git@ettus.sourcerepo.com:ettus/uhdpriv into xcvr
Diffstat (limited to 'host/lib/usrp/usrp2/usrp2_impl.cpp')
-rw-r--r-- | host/lib/usrp/usrp2/usrp2_impl.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/host/lib/usrp/usrp2/usrp2_impl.cpp b/host/lib/usrp/usrp2/usrp2_impl.cpp index 3bdc5bd02..0fa56c339 100644 --- a/host/lib/usrp/usrp2/usrp2_impl.cpp +++ b/host/lib/usrp/usrp2/usrp2_impl.cpp @@ -70,6 +70,7 @@ uhd::device_addrs_t usrp2::find(const device_addr_t &hint){ //send a hello control packet usrp2_ctrl_data_t ctrl_data_out; + ctrl_data_out.proto_ver = htonl(USRP2_PROTO_VERSION); ctrl_data_out.id = htonl(USRP2_CTRL_ID_GIVE_ME_YOUR_IP_ADDR_BRO); udp_transport->send(boost::asio::buffer(&ctrl_data_out, sizeof(ctrl_data_out))); |