mirror of
https://github.com/EttusResearch/uhd.git
synced 2026-10-25 17:36:10 +00:00
x300: Respect X300_FW_COMMS_FLAGS_ARP_FAIL flag
In firmware version 6.1, this flag was introduced to indicate a failed ARP lookup.
This commit is contained in:
parent
89fb75288e
commit
6d843a2e78
@ -134,6 +134,10 @@ protected:
|
||||
UHD_ASSERT_THROW(reply.sequence == request.sequence);
|
||||
UHD_ASSERT_THROW(reply.addr == request.addr);
|
||||
UHD_ASSERT_THROW(reply.data == request.data);
|
||||
|
||||
if (flags & X300_FW_COMMS_FLAGS_ARP_FAIL) {
|
||||
throw uhd::lookup_error("Device failed to look up IP address.");
|
||||
}
|
||||
}
|
||||
|
||||
uint32_t __peek32(const wb_addr_type addr) override
|
||||
|
||||
Loading…
Reference in New Issue
Block a user