diff options
-rw-r--r-- | host/lib/usrp/x300/x300_eth_mgr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/usrp/x300/x300_eth_mgr.cpp b/host/lib/usrp/x300/x300_eth_mgr.cpp index dcc8195ae..c5ddf54f3 100644 --- a/host/lib/usrp/x300/x300_eth_mgr.cpp +++ b/host/lib/usrp/x300/x300_eth_mgr.cpp @@ -196,7 +196,7 @@ eth_manager::eth_manager( // Initially store only the first address provided to setup communication // Once we read the EEPROM, we use it to map IP to its interface // In discover_eth(), we'll check and enable the other IP address, if given - x300_eth_conn_t init; + x300_eth_conn_t init = x300_eth_conn_t(); init.addr = args.get_first_addr(); auto device_id = allocate_device_id(); _local_device_ids.push_back(device_id); |