aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2016-11-15 16:19:28 -0800
committerMartin Braun <martin.braun@ettus.com>2016-11-15 16:19:28 -0800
commitdc951f511043d828a7ebc00a2af151ce2e9af4fc (patch)
tree24f91f81b9e3577d2410c029edbc1263184ee282 /host/lib/usrp
parentce395c934258bc64e8efcd75e202006e0b18d201 (diff)
parent69ad966a29575679a9ac77975b3352ba29a68139 (diff)
downloaduhd-dc951f511043d828a7ebc00a2af151ce2e9af4fc.tar.gz
uhd-dc951f511043d828a7ebc00a2af151ce2e9af4fc.tar.bz2
uhd-dc951f511043d828a7ebc00a2af151ce2e9af4fc.zip
Merge branch 'maint'
Diffstat (limited to 'host/lib/usrp')
-rw-r--r--host/lib/usrp/n230/n230_impl.cpp4
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