summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/usrp/mboard/usrp2_fw_common.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/usrp/mboard/usrp2_fw_common.h b/lib/usrp/mboard/usrp2_fw_common.h
index eb097c3fe..28d58cf7c 100644
--- a/lib/usrp/mboard/usrp2_fw_common.h
+++ b/lib/usrp/mboard/usrp2_fw_common.h
@@ -39,13 +39,13 @@ typedef enum{
typedef struct{
uint32_t id;
uint32_t seq;
- union data{
- struct discovery_addrs{
+ union{
+ struct{
uint32_t ip_addr;
uint8_t mac_addr[6];
uint8_t _padding[2];
- };
- };
+ } discovery_addrs;
+ } data;
} usrp2_ctrl_data_t;
#ifdef __cplusplus