diff options
author | Ashish Chaudhari <ashish@ettus.com> | 2016-11-14 16:46:39 -0800 |
---|---|---|
committer | Ashish Chaudhari <ashish@ettus.com> | 2016-11-14 16:46:39 -0800 |
commit | 69ad966a29575679a9ac77975b3352ba29a68139 (patch) | |
tree | 16ee565c490542bffb3ea4a5c7a8cf930bbbcaef /host/lib/usrp | |
parent | b68412521f55d61429ecfe091b0b18d02c78becd (diff) | |
download | uhd-69ad966a29575679a9ac77975b3352ba29a68139.tar.gz uhd-69ad966a29575679a9ac77975b3352ba29a68139.tar.bz2 uhd-69ad966a29575679a9ac77975b3352ba29a68139.zip |
n230: Make second dual-eth addr consistent with standard
- The second address argument was changed from "secondary-addr" to "second_addr"
Diffstat (limited to 'host/lib/usrp')
-rw-r--r-- | host/lib/usrp/n230/n230_impl.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/host/lib/usrp/n230/n230_impl.cpp b/host/lib/usrp/n230/n230_impl.cpp index 24ef5d97d..015140fcc 100644 --- a/host/lib/usrp/n230/n230_impl.cpp +++ b/host/lib/usrp/n230/n230_impl.cpp @@ -201,8 +201,8 @@ n230_impl::n230_impl(const uhd::device_addr_t& dev_addr) //Initialize addresses std::vector<std::string> ip_addrs(1, dev_addr["addr"]); - if (dev_addr.has_key("secondary-addr")) { - ip_addrs.push_back(dev_addr["secondary-addr"]); + if (dev_addr.has_key("second_addr")) { + ip_addrs.push_back(dev_addr["second_addr"]); } //Read EEPROM and perform version checks before talking to HW |