From 69ad966a29575679a9ac77975b3352ba29a68139 Mon Sep 17 00:00:00 2001 From: Ashish Chaudhari Date: Mon, 14 Nov 2016 16:46:39 -0800 Subject: n230: Make second dual-eth addr consistent with standard - The second address argument was changed from "secondary-addr" to "second_addr" --- host/lib/usrp/n230/n230_impl.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'host/lib/usrp') 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 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 -- cgit v1.2.3